ignore more autogenerated files
mark executable, quote wdir defensively
Merge pull request #9 from jwm/master

Pick a couple build-related nits