added cpp conditionals for Windows Server 2003/8