Suppress warnings-as-errors to fix builds on Fedora.  The python headers themselves cause the warnings, so there's not much we can do to fix this.
Fix compilation on RHEL5; do not used undefined python type.