Remove -Wpedantic as it appears to cause problems with some versions of GCC (??)