Export QT4 libraries properly in cmake macro