Don't use lpthread for Android

Thanks to Peter Osterlund for the feedback.

No functional change.