Receivers shall be entitled to have such compensation for their services as the court shall allow, and shall have a lien upon the property in their hands for the payment thereof, and of their necessary expenses. The court shall make such order to compel the payment thereof as may be just and necessary, and may decree the payment thereof by any of the parties as a portion of the costs of the suit.