Use smart strdupe