Cleaned up recent CMake module changes to use variable instead of string in regex matches.

git-svn-id: http://urho3d.googlecode.com/svn/trunk@2582 3bd170d8-ddcf-f82c-f583-7a401ccf5608