Fixed an initialization issue when running under MS Visual Studio 2012

This seems to only happen under MSVS2012, when not using the pre-loader.