Added option to disable building the emulator