Revert "lib/string: use glibc version"

This reverts commit 5df76848f61901ec7fcc3f5ff191701c65c7a1a1.