Makefile: fixed broken DEBUG=1 mode