Correct POSIX names for proper Visual C++ compilation