Fix plotting when not on windows.