Add policy definitions to avoid warnings from cmake 3.0.0
Add QtMacExtras detection for Qt5 support