*Finally* working on Windows, albeit with an almighty nasty hack :(