Added missing library inclusions for uint8_t, etc.

Added missing library inclusions for uint8_t, uint16_t, etc. types. 
<stdint.h> for C++99 and <cstdint> for C++11.

Library would not compile on GNU/Linux x86_64 without these.