gitignore and pkg-config error

Added a .gitignore for convenience and a missing variable that prevent correct detection with autoconf pkg-config macros.