--- chess.h	2017-01-15 18:19:14.000000000 -0500
+++ chess.h	2017-01-15 18:27:34.000000000 -0500
@@ -62,13 +62,13 @@
 #    endif
 #  endif
 #  if !defined(BOOKDIR)
-#    define   BOOKDIR      "."
+#    define   BOOKDIR      "@@PREFIX@@/share/crafty"
 #  endif
 #  if !defined(LOGDIR)
 #    define   LOGDIR       "."
 #  endif
 #  if !defined(TBDIR)
-#    define   TBDIR        "./syzygy"
+#    define   TBDIR        "@@PREFIX@@/share/crafty/TB"
 #  endif
 #  if !defined(RCDIR)
 #    define   RCDIR        "."
