map class and switch to gnustl