Fix import errors

Between python 2 and 3