Fix build issues (Qt version discrepancy)