Legato-19.02.0: error: library used but 'RANLIB' is undefined

Building Legato for target ‘localhost’
Makefile:126: build/localhost/.config.mk: No such file or directory
MAKE /home/costa/modular/sierra/legato-19.02.0/bin/kconfig
make[1]: Entering directory ‘/home/costa/modular/sierra/legato-19.02.0’
COPY kconfig-frontends
RECONF kconfig-frontends
Makefile.am:14: error: library used but ‘RANLIB’ is undefined
Makefile.am:14: The usual way to define ‘RANLIB’ is to add ‘AC_PROG_RANLIB’
Makefile.am:14: to ‘configure.ac’ and run ‘autoconf’ again.
Makefile.am:13: error: Libtool library used but ‘LIBTOOL’ is undefined
Makefile.am:13: The usual way to define ‘LIBTOOL’ is to add ‘LT_INIT’
Makefile.am:13: to ‘configure.ac’ and run ‘aclocal’ and ‘autoconf’ again.
Makefile.am:13: If ‘LT_INIT’ is in ‘configure.ac’, make sure
Makefile.am:13: its definition is in aclocal’s search path.
autoreconf: automake failed with exit status: 1
Makefile.hostTools:136: recipe for target ‘/home/costa/modular/sierra/legato-19.02.0/build/tools/kconfig-frontends/configure’ failed
make[1]: *** [/home/costa/modular/sierra/legato-19.02.0/build/tools/kconfig-frontends/configure] Error 1
make[1]: Leaving directory ‘/home/costa/modular/sierra/legato-19.02.0’
Makefile:492: recipe for target ‘/home/costa/modular/sierra/legato-19.02.0/bin/kconfig’ failed
make: *** [/home/costa/modular/sierra/legato-19.02.0/bin/kconfig] Error 2

DISTRIB_DESCRIPTION=“Ubuntu 18.04.2 LTS”