On some systems strndup may be defined as a macro