add the actual correct function for appending cflags