Fix executable issue with wait_for_emulator