Revert "lib/string: use glibc version"

This reverts commit 512bb1ce64e5e26ef378804753c3f81dcb394709.