Fixed a small compilation error
Added .gitignore for build/ directory