Fix compilation of QT wallet.