Fix some of the issues regarding emulation on windows systems (MO-214)