[build][fr] drop the obsolete distutils library and fix the thesaurus builder