Convert OS-specific path separators to slash

.. otherwise subdirectories are not accessible when using `statik` on Windows.