Revert "lib/string: use glibc version"

This reverts commit 5c309abcfd788dbaa669439a626dd31fc01f19ec.