Fix linking issue.
Added gitignore.