Fix LBufferAPI for mmap