ifdef out the definition of setCloseOnExec on Windows; fixes the build