move SHAPE_MEMORY_MAPPED_FILE to be a global define