Android build

Please test, if strerror_r() is still working in your environment.