Made the wallet Qt GUI code compatible with MSVC and Qt v5