Detect Win32/Unix at runtime instead of compile time, remove _WIN32 symbol