ProjectExplorer: Fix compile for older gcc

Issue was introduced in 5003bc60d0ec8188e0f4b9458b821fb7ffb55de9;

Change-Id: Ibe016f884e4eea8093173ced497ee4c62f1265c3
Reviewed-by: hjk <hjk121@nokiamail.com>