fix passing of LIBPATH_DEFAULT