Fix import error in python 2