Fix shared object rpath problem