add correct function for appending cflags