Update for to_str->to_string and macro hygiene changes
Merge pull request #189 from bjz/update

Update for to_str->to_string and macro hygiene changes
Changed build to make it work in my own project.

I need to link it statically and I don't really see a way to do it
without hacking the way it's built.