Fixing build script, adding binary files to gitignore