Correct `make check` warnings