Add speex as an optional dependency