[bugfix] incompatible implicit declaration of built-in function strndup