curl lib porting on android