[be-script] improvements to the build engine script

Signed-off-by: Juha Kallioinen <juha.kallioinen@jolla.com>