Fix broken OS X build with isnan and MAP_ANONYMOUS