Fixes to the odoo 8 build