improved the way executables are found using distutils.spawn.find_executable