Minor fixes due to bitrot.
Added .gitignore to ignore the bin directory.