Fix include path errors, update .gitignore.