some small fixes regarding gitignore and path calculation under Unix