Fixed VS2012 release builds.