add -Wno-pedantic flag when compiling swig wrappers (for std_iostream.i)