configure: Fix coverage reports

I was getting weird linker errors. This seems to fix everything.
Update .gitignore