write scripts for various platform

1. build for Mac, iOS, Android and Tizen
2. add png, jpeg, zlib, openssl, websockets, curl, tiff, webp, freetyp2 etc  support
3. test it all on MacOSX, still need more tests 
4. different arch libraries still need to be `lipo`.

I will improve the build scripts and test it all on iOS, Android, Tizen, Mac, Linux and Windows.