fix strnlen input of size, which should be unsigned
add fnmatch; fixes #2002