Added config.rpath to solve all the rpath errors.