Added flag for mac so get rid of 'auto' warnings