Fixed issue with python3 library extension.