Don't export flag macros.

`FLAG_CHECK` and `FLAG_PROPERTY` are implementation details so they should live in implementation file rather than header file.