Allow to build Qt5 without Declarative dependency