build: clean up default cflags handling