Change code to allow import (if not running yet) on py3k.