re-fix OSX cmake issue