Fixed compilation on Mac Qt and update to latest Xcode project