change libpath and run path