corrected build instr + mmap check