sync avhttp, fix compile problem