There is no posix_category in std, use generic_category.