Add `-pedantic` to compiler flags
To stay as compiler independent as possible, we should adhere to the standard.
But one could use some compiler extension without realising. So we should add -pedantic on GCC, Clang and MinGW and \permissive- on MSVC to make the compiler disable or warn about used compiler extensions.