adjust makefile to do the admit check slightly better