Restore the use of libpath to reduce noise in diffs
Use a static method to change paths to Unix style