Look for explicitly a '1' in Makefile flags, not just definition.

This fixes an issue where the firmware was compiled with debug even if
you have DEBUG=0 - you had to `unset DEBUG` to get it to leave out the
symbols.