Revert "lib/string: use glibc version"

This reverts commit 32c8d8892333a75a360ce7210f1b4f5ddb93ed90.