Added -mmacosx-version-min for macos build