Better compatibility of the Qt project with Mac