Added conditional usage of cstdint from C++11 standard