Commented out some code which doesn't compile on Windows - will fix this when I have time.