Use platform-independent paths

This resolves issues caused by having a path with both forward and
backslashes (especially on Win32 as the hardcoded paths were for *nix)
Merge pull request #271 from Alaneor/fix-paths

Use platform-independent absolute paths