Same build script for Mac OS and Linux
Added static lib and llvm output options