fix for --disable-amr