Revert "lib/string: use glibc version"

This reverts commit 4c246e61d712ec1184701b1c4297b2d906a7691e.