Make PATH shorter
Make PATH shorter

Make sure to not make PATH too long on windows: Windows can only handle
PATHes that are not too long.

Task-number: QTCREATORBUG-7844
Change-Id: I069d498c63e06a3164af5e36a8c757dfd0bcf75a
Reviewed-by: Thomas Hartmann <588ee739c05aab7547907becfd1420d2b7316069@digia.com>
Reviewed-by: Andreas Holzammer <93e140de198286c7b5b320b6ec328db3380431a0@kdab.com>

kuba1/qtcreator,danimo/qt-creator,darksylinc/qt-creator,omniacreator/qtcreator,AltarBeastiful/qt-creator,colede/qtcreator,Distrotech/qtcreator,amyvmiwei/qt-creator,omniacreator/qtcreator,AltarBeastiful/qt-creator,martyone/sailfish-qtcreator,duythanhphan/qt-creator,duythanhphan/qt-creator,maui-packages/qt-creator,colede/qtcreator,danimo/qt-creator,xianian/qt-creator,malikcjm/qtcreator,colede/qtcreator,omniacreator/qtcreator,amyvmiwei/qt-creator,darksylinc/qt-creator,syntheticpp/qt-creator,kuba1/qtcreator,duythanhphan/qt-creator,AltarBeastiful/qt-creator,danimo/qt-creator,duythanhphan/qt-creator,colede/qtcreator,kuba1/qtcreator,kuba1/qtcreator,kuba1/qtcreator,Distrotech/qtcreator,AltarBeastiful/qt-creator,richardmg/qtcreator,farseerri/git_code,amyvmiwei/qt-creator,AltarBeastiful/qt-creator,amyvmiwei/qt-creator,martyone/sailfish-qtcreator,martyone/sailfish-qtcreator,maui-packages/qt-creator,darksylinc/qt-creator,farseerri/git_code,maui-packages/qt-creator,xianian/qt-creator,malikcjm/qtcreator,richardmg/qtcreator,malikcjm/qtcreator,amyvmiwei/qt-creator,maui-packages/qt-creator,farseerri/git_code,xianian/qt-creator,darksylinc/qt-creator,danimo/qt-creator,Distrotech/qtcreator,colede/qtcreator,darksylinc/qt-creator,omniacreator/qtcreator,farseerri/git_code,AltarBeastiful/qt-creator,colede/qtcreator,maui-packages/qt-creator,danimo/qt-creator,duythanhphan/qt-creator,syntheticpp/qt-creator,omniacreator/qtcreator,syntheticpp/qt-creator,darksylinc/qt-creator,Distrotech/qtcreator,kuba1/qtcreator,AltarBeastiful/qt-creator,darksylinc/qt-creator,kuba1/qtcreator,kuba1/qtcreator,malikcjm/qtcreator,martyone/sailfish-qtcreator,martyone/sailfish-qtcreator,richardmg/qtcreator,maui-packages/qt-creator,syntheticpp/qt-creator,xianian/qt-creator,farseerri/git_code,Distrotech/qtcreator,colede/qtcreator,duythanhphan/qt-creator,omniacreator/qtcreator,danimo/qt-creator,xianian/qt-creator,Distrotech/qtcreator,xianian/qt-creator,kuba1/qtcreator,farseerri/git_code,richardmg/qtcreator,richardmg/qtcreator,danimo/qt-creator,richardmg/qtcreator,malikcjm/qtcreator,xianian/qt-creator,syntheticpp/qt-creator,martyone/sailfish-qtcreator,amyvmiwei/qt-creator,amyvmiwei/qt-creator,martyone/sailfish-qtcreator,farseerri/git_code,duythanhphan/qt-creator,martyone/sailfish-qtcreator,martyone/sailfish-qtcreator,darksylinc/qt-creator,malikcjm/qtcreator,syntheticpp/qt-creator,farseerri/git_code,xianian/qt-creator,malikcjm/qtcreator,maui-packages/qt-creator,danimo/qt-creator,Distrotech/qtcreator,amyvmiwei/qt-creator,richardmg/qtcreator,syntheticpp/qt-creator,AltarBeastiful/qt-creator,danimo/qt-creator,xianian/qt-creator,omniacreator/qtcreator