Compiler dependent mapi and mapi unit test.