Support "/" as path separator for Windows

fixes #1691