FIX Include order and namespace scope of _WIN32 time functions.