Fix an error on Fedora's autoconf
Made the m4/** ignore rule more fine-grained
Don't try to use gcc extensions (breaks clang)
Be backwards compatible with 4.* Qt
Fix an out-of-date include/lib in tests
Make tests build again by including a common header for defs