Fixed build for MSVC 2008
Merge pull request #681 from ipechorin/master

stdint.h is not available on all platforms
Merge pull request #682 from hintjens/master

Fixed build for MSVC 2008