Moved stdint check logic into its own file.