Added .gitignore.
Updated build system.