Take CFLAGS from environment in Makefiles

This makes it easier for people to tweak the C build when necessary.