--- compat.h.org	2009-10-17 14:09:18.000000000 -0500
+++ compat.h	2010-01-09 18:35:55.000000000 -0600
@@ -82,7 +82,7 @@
 
     #if __APPLE__
         #define SwitchToThread() pthread_yield_np()
-        #define DYNLIB_EXT ".dynlib"
+        #define DYNLIB_EXT ".so"
     #else
         #define SwitchToThread() pthread_yield()
         #define DYNLIB_EXT ".so"
