Added workaround for missing define in libav