Removed all dependency on boost::format to get rid of runtime dependency for template functions