Allow building on Qt5