Change emulator.h to be metaheader