fix MinGW run environment

Task-number: QBS-280

Change-Id: I120679ce5dd72958a995fedda3353e2ffab5f7ad
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>