Fixed install path issue in root_link function