Now compiles on Windows