Remove <type_traits> usage as it causes issues with Travis CI.