Fixed build for MSVC 2008
Merge pull request #682 from hintjens/master

Fixed build for MSVC 2008