Suppress cmake warning for OSX build