fix older swig with types header
attempt to suppress annoying warnings with older gcc