Fix VS2010 build
Merge pull request #7 from Kingcom/master

Fix VS2010 build