Fix to allow compilation on OS X 10.5+

...ed_map instead of the TR1 version.