In all cases of the survey of private land claims the cost of the same shall be refunded to the Treasury by the owner before the delivery of the patent.