add patch to fix build framework/av errors