Fixes compile failure on systems that qualify as "linux" but are not glibc based.
This time I think I got it right. Sorry for the spam.
For Android, this isn't the whole truth. I actually have a patch waiting for review that covers this: http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20140623/108571.html
danablert's change fixed this so closing.