Fixed Mac OSX Qt client compile