if 'cpython' or 'pypy-20' in self.compiler.shared_lib_extension

Same issue with PyPy 2.0.2! This changes makes everything work for me.