Prevent build failure in Python 3.x version