[cosmetics] - get rid of some checks for _WIN32 and replace them with proper TARGET_WINDOWS checks