fix for compilation when vaapi is disabled