Do you know if the appraised value included the repaired roof?
If not you may be able to get the appraiser to update the report to reflect the value after the roof repairs.
The only other options you have are.
1) Make up the difference between the appraised value and your loan.
2) Ask the seller to come down on the sales price.