Fix compilation (mmap detection) by Mr. Hyde

:: upstream revision 10840 ::