Added missing library inclusions for uint8_t, uint16_t, etc. types. <stdint.h> for C++99 and <cstdint> for C++11.