Doesn't compile on windows.