Fixed rpath bug and support love binaries