trying to fix cflags for apple