ifdef out portions which will not compile under Windows. #4094