Fix typo leading to linkage errors (to_s instead of to_string).