fix cflags on unix