Don't use -pedantic with buggy compilers