Add rpath support