Fixing compiler directives that were interfering with non-Windows builds.