trying rpath which will hopefully be more flexible than previous solution