Fix workstation-dependent compilation error. Add gitignore.

FYI, a few of the source code files have a hardcoded directory in the project so it will not compile on someone else's machine. Fixed here.