Notices requiring compliance with this act shall be served upon the registered owner, or his agent, or by posting a copy upon the premises, which notice shall not be removed or defaced while the condition exists. All notices shall be complied with within ten days, and upon failure to comply, said department may contract to have the necessary work done, and the cost thereof shall be made a lien against the property and collectible as now provided by law: Provided, however, That if there shall be no funds at the disposal of the said department for the aforesaid purpose, then the said department may contract to have such work done, and the lien therefor shall be marked to the use of the contractor doing the work and shall be collectible by the said contractor as is now provided by law in similar cases. Said contractor shall have the right to use all the legal processes that cities of the first class now have for the collections of liens, but in no case shall they have recourse to the city.
53 P.S. § 13876