fix rpath and update dependencies of Config message