Add missing checks to Makefile