cflags export on osx only