Use the "findpaths" command instead of hard-coding LIBPATH.