added -Wextra and -pedantic flags to non-MSVC compilers