fix distutils.spawn import issue in some python distributions