Make mingw compatible

Disables os.getids but allows for os.wait