add local hacks to get libc building on arm

Going in the wrong direction here, but then again it's good to
gain more perspective before feeding things into NetBSD.