Update configure.ac, small leak fix in mlog, and fix uninitialized variable read in mlog.