LP 1669868: Fix make check for all distros.