fix build for fedora 20

The *-mt libraries seem to have been dropped on fedora, since everything is built in multi-threaded mode now. By using the cmake variable instead of the library name, cmake takes care of this.

see https://lists.fedoraproject.org/pipermail/scm-commits/Week-of-Mon-20130624/1047486.html