compiling version of MappedMemLocObject