error checking for strlens, added PIPEOPTARG
"There's autotools garbage in there" - @apgwoz