Fixes from patches for building MAPIBackend for Openchange and Activesync