Fix crash when creating new Qt5 app in VS2008

Change-Id: I2ce70c491276932ea14354fa9c764131f01046d5
Task-number:QTVSADDINBUG-385
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>