Prefer using Boost's lexical_cast instead of C++11's to_string for MingW compatibility