Try to fix compilation failure under OS X
diff --git a/setup.py b/setup.py
index 19e6bc3..62e5ad2 100644
--- a/setup.py
+++ b/setup.py
@@ -597,7 +597,7 @@
             if not os.path.exists(self.build_temp):
                 os.makedirs(self.build_temp)
             ret = os.system("ldd %s > %s" % (do_readline, tmpfile))
-            if ret >> 8 == 0:
+            if ret == 0:
                 with open(tmpfile) as fp:
                     for ln in fp:
                         if 'curses' in ln: