Ignore products of make check
Fix warnings from GCC and clang