Fixing compilation issues with pathnames.