Fix for PATH_MAX not always defined.
Add a .gitignore file.