Simple flag macros.
Merge into master from pull request #37:
Simple flag convenience macos.  (https://github.com/floodlight/infra/pull/37)