Making genbuild.sh executable
Fixing compilation error on OS X
Fixing compilation error on LLVM OS X