The strlen check was added for the same purpose as the nodefaultlib parameter.