fix vs compilation
support mmap2
uninitialized variable
assert on debian squeeze