Fix distance build restriction localization.