Various configure.ac fixes, including for audio enabled breakage