doesn't this check have to be in #ifdef _WIN32, if the setting is in that?