ifaces/python: fixes for darwin