On Win32, call InitSysDirectories before the emuthread starts just to be safe.
Just open the MSVC project file and build.