Fixed so it will compile on Windows again