Fixes to compile bitshares_toolkit with Visual Studio 2013