add compiler flag for missing to_string support