Fix Qt compile checks