Fix for Windows

changes in 0.04 broke Windows support