Use the filenames.h solution of binutils/gcc for more portable pathname
handling. Modified filenames.h from the uhexen2 project (uhexen2.sf.net)
It doesn't care about the unix "~/" cases though, which libWildMidi did
used to check at a few places..