VS2010 support.
Merge pull request #1 from kivikakk/vs2010

VS2010 support