fixed rpath issues for linux .so files