flags for bsd/osx