VS 2012/13 work on win 7/8
Merge pull request #514 from SteveALee/patch-1

VS 2012/13 work on win 7/8