Makefile: Fix building tests only in debug mode

Gnah, stupid Makefile syntax ;/