check for cstdint and #error that we're not using libc++ with clang