[mac]Reconfigure how Indielib is built. All dependencies are statically linked into Indielib.

1. This includes: SDL, FreeImage and GLEW. All statically linked on Indielib. Linking statically to SDL requires from us to open the sources, but we have same license as SDL (LGPL), so it's ok.
2. Also modified release.sh script to build dependencies as required. May need to update wiki for information on how to build Indielib, probably in future will add a builddeps.sh for that purpose.