fix qt linking in cmake