clean up for libav compilation