Fix Makefile to append to CFLAGS, LDFLAGS rather than replace them.