ifaces/python: fixes for linux