BUG: optimizepath.py: import distutils.spawn