for shared building added rpath