Fix build with older Qt