Tell your lender that you will put a couple of thousand $ in an escow account for the fixes and ask the lender to release to loan. You will fix the required repairs within xx days once you take over the house. And then lender will release the escow money back to you.
Give it a try and see what the lender will say.