Add portable qmake function cleanPath()