Simplify libvorbis/libtheora check for libogg dependency.