avoid falling over on windows path slashes, use cmake ones instead (#359)