Fix msvc12 compile error on b58 test, eliminate warnings.