[PATCH 07/17] dm: test: Update Makefile conditions