Initial MSVC 2010 solution - will need replacing/wrapping of
std::cerr/std::cout etc. to be able to compile