dm: test: Update Makefile conditions