Fixed a bit so units should run in VS2013