add pypy detection, only build ext in CPython.
fix pypy3 compatibility, enable pypy3.