--- classes/xml/Makefile.orig	2020-12-22 20:25:35.000000000 +0100
+++ classes/xml/Makefile	2020-12-29 15:28:02.000000000 +0100
@@ -9,7 +9,7 @@
 ifeq ($(USE_BUNDLED_LIBXML2),True)
 	MYCCOPTS += -I"$(SRCDIR)"/$(SMOOTH_PATH)/include/support/libxml2
 else ifeq ($(BUILD_OSX),True)
-	MYCCOPTS += -I$(shell xcodebuild -sdk macosx -version | grep "^Path: " | head -n 1 | tail -c +7)/usr/include/libxml2
+	MYCCOPTS += -I$(prefix)/include/libxml2
 else
 	MYCCOPTS += $(shell pkg-config --cflags libxml-2.0)
 endif
