--- setup.py	2024-02-19 16:06:52.000000000 +0800
+++ setup.py	2024-03-21 22:10:57.000000000 +0800
@@ -90,7 +90,7 @@
     # Fix compile on some versions of Mac OSX
     # See: https://github.com/neulab/xnmt/issues/199
     if sys.platform == 'darwin':
-      cflags.append('-mmacosx-version-min=10.9')
+      cflags.append('-mmacosx-version-min=@MAC_OS_V@')
     else:
       cflags.append('-Wl,-strip-all')
       libs.append('-Wl,-strip-all')
