--- a/unac/unac.h
+++ b/unac/unac.h
@@ -111,10 +111,7 @@
 		const char* in, size_t in_length,
 		char** out, size_t* out_length);
 
-/* To be called before starting threads in mt programs */
-void unac_init_mt();
-
-#ifdef RECOLL_DATADIR
+#ifdef BUILDING_RECOLL
 #include <string>
 /** 
  * Set exceptions for unaccenting, for characters which should not be
@@ -128,7 +125,7 @@
  *  can't be an exception character, deal with it...
  */
 void unac_set_except_translations(const char *spectrans);
-#endif /* RECOLL_DATADIR */
+#endif /* BUILDING_RECOLL */
 
 /*
  * Return unac version number.