[trunk] Fix compilation on VS2010 (snprintf is not C89). C++11 should avoid this...