fixes #943 thanks to @rwcarlsen.

There was some problem in the const char* casting in any.hpp. Not clear why, but direct casting as std::string fixed #943, my mavericks runtime segfault ! Thanks @rwcarlsen !! :+1: