Fix restore, install targets.