Add flexbox mixins and add compat for b2g version