Modules/getpath.c now compiles properly under OS X when using the
--disable-framework build; header file was protected in an #if using the wrong
macro to check.

Closes bug #978645.
diff --git a/Modules/getpath.c b/Modules/getpath.c
index cbdcbd8..10ad509 100644
--- a/Modules/getpath.c
+++ b/Modules/getpath.c
@@ -6,7 +6,7 @@
 #include <sys/types.h>
 #include <string.h>
 
-#ifdef WITH_NEXT_FRAMEWORK
+#ifdef __APPLE__
 #include <mach-o/dyld.h>
 #endif