Update CMake scripts to recognize Qt 5.0
Merge pull request #880 from apavlenko:qt-5.0