Removed rpath and static linking