Historic building to be restored