[s2167] Restore mmap extractor build with CMake by adding preprocessor

Thanks to @Cyberium

(based on commit [12724] - a934f45)