diff -ur unison-2.27.57/Makefile.OCaml unison-2.27.57./Makefile.OCaml
--- unison-2.27.57/Makefile.OCaml	2007-05-07 19:42:29.000000000 +0400
+++ unison-2.27.57./Makefile.OCaml	2008-04-13 04:38:12.000000000 +0400
@@ -149,7 +149,7 @@
 # builds in build/Default/, and earlier versions use build/
 macexecutable: $(NAME)-blob.o
 	sed -e's/@@VERSION@@/$(VERSION)/' $(UIMACDIR)/Info.plist.template > $(UIMACDIR)/Info.plist
-	(cd $(UIMACDIR); xcodebuild OCAMLLIBDIR="$(OCAMLLIBDIR)")
+	(cd $(UIMACDIR); xcodebuild OCAMLLIBDIR="$(OCAMLLIBDIR)" SYMROOT=build)
 	if [ -e $(UIMACDIR)/build/Default ]; then \
 	  gcc $(UIMACDIR)/cltool.c -o $(UIMACDIR)/build/Default/Unison.app/Contents/MacOS/cltool -framework Carbon; \
 	else \
