Fix building examples with Qt5