fix compilation issue + update .gitignore