Fix queue import in Python3