Android build: don't rely on reentrant versions of getpwnam and friends
Android build: use Android-specific pthread_cond_timedwait
Android build: include nameser.h
Android build: (temporary) work around absence of pthread_sigmask
Android build: first version of Android makefiles for 0.11