fix typo in doxygen formula
add some get_strdup function to avoid compile errors (strdup is not ansi C!)