From automake 1.13
Add files to ignore
Fix issue with extern int errno, which needs to come from errno.h
to properly deal with TLS linkage.