set close_fds to False if we are in Windows