Add iOS/OSX detection to eglib.
Autoconf incorrectly detects strndup getpwuid_r on iOS. Avoid that at configure time.