Updated gitignore
Fixed a few bugs in build
- ${architectures} was never set, copied code over from prepare
- make was being run in the wrong directory
- Trailing whitespaces were removed
Merge pull request #3 from naderm/master

Fixed a few bugs in ./build, updated .gitignore