We'll need an if(WIN32) around this to avoid breaking the Mac builds, I think.