nothing sets this to 0, but for some reason it gets undef'd
--- a/build/cmake/setup.h.in
+++ b/build/cmake/setup.h.in
@@ -867,7 +867,7 @@
 /*
  * Define if large (64 bit file offsets) files are supported.
  */
-#cmakedefine HAVE_LARGEFILE_SUPPORT 1
+#define HAVE_LARGEFILE_SUPPORT 1
 
 /*
  * Use OpenGL
