Use glibc routines

* This was missed by Faux123 but is needed for his other patches

Signed-off-by: Chet Kener <Cl3Kener@gmail.com>