work around missing stdint.h on MSVC

Use boost::cstdint.hpp to work around lack of stdint.h on older versions
of MSVC.