Crank version for next 2.0
conditionally build strnlen if needed.

it is only used by strndup

prodded by Sortie@