Added a .gitignore and made the Makefile.PL a bit smarter

I think it's better to check the compiler capabilities rather than checking a specific version.