removed HAVE_TYPE_TRAITS definition