ff: added support for building libav