Build fix for emulator