remove libpath on all platforms