Adds more _WIN32 and __linux__ specific code.