Fixed reverse exit code logic in VS2012 builds.