Move configure flags for Qt into variable