fix enum_utils with MSVC