Fix import for Python 3