Fixed linkage of _map, all works now... Worried about windows compile though.