Fixed issue #463 for VS 2013 and 2012.