COMP: Fix build against Qt < 4.8

Add a fallback for QProcessEnvironment::keys(), which was added in Qt
4.8.
Merge pull request #47 from mwoehlke-kitware/fix-build-with-older-qt

Fix build against Qt < 4.8