Fix b2g emulator build.