Fix compilation with --disable-audio
Skip useless lavr check when lavf is not available