Fix make check errors.