Remove IsWindows and IsMac functions