Build emulator according to the host architecture