MOSYNC-2871: Necessary changes to maapi.h to cater for android wchar support