qt3d: fix static build