Whenever hereafter any benevolent, charitable, philanthropic, educational, or eleemosynary institution, corporation, or unincorporated association, in the manner hereinafter provided, shall give its mortgage to secure any bond or other obligation, the proceeds whereof are to be used in making permanent improvements, or to refund any bonds or other obligations secured by mortgage, or both, covering any real estate against which the Commonwealth of Pennsylvania holds any non-interest bearing lien for moneys appropriated, the said mortgage and the lien thereof shall have prior standing, and in all respects be preferred to any and all such non-interest bearing liens.
72 P.S. § 4038