Fix root paths.
Add *.o and version to .gitignore.