remove unused libavdevice from build
fix a build failure due to missing UIKit.h