Small changes to config.mk to fix build issues.

This change allows outside setting of CC and doesn't inherit CFLAGS anymore.