fix build problem of ssl module with recent OpenSSL

http://bugs.python.org/issue12012
fix build problem of ssl modulle of CPython 3.0.1