[backend] fix call of build script with emulator mode