Add missing include for older Qt versions.