MAID-239: msvc compiler warnings fix