Replace isupper with a macro in msvc