Integrated build script (static/shared/buid-dir/prefix/osx).
Merge pull request #9 from evoskuil/version2

Integrated build script (static/shared/buid-dir/prefix/osx).