Fix/no cx11 warning

This branch removes all warnings with `-std=c++03 -Wall -pedantic` at least for Apple LLVM version 5.1 (clang-503.0.40) (based on LLVM 3.4svn).
please add an include for ```<cstdint>```