Android support (originally by Senseg)

* avoid usage of iconv (not present in Bionic libc)
* added pthread_barrier code (not present in Bionic libc)
* added Android makefile