Fix MSVC build after gui#176
Fix MSVC build after gui#176

Github-Pull: #20983
Rebased-From: c5354e4641d8a92807e4183894d4bb32241e4b5b

qtumproject/qtum,qtumproject/qtum,litecoin-project/litecoin,qtumproject/qtum,qtumproject/qtum,rnicoll/dogecoin,litecoin-project/litecoin,litecoin-project/litecoin,qtumproject/qtum,rnicoll/dogecoin,qtumproject/qtum,litecoin-project/litecoin,litecoin-project/litecoin,rnicoll/dogecoin,qtumproject/qtum,litecoin-project/litecoin,rnicoll/dogecoin,rnicoll/dogecoin