[mac] fix build under osx 10.10

  - related issue https://bugreports.qt-project.org/browse/QTBUG-39644