[12359] CMake build fixes Thanks danielsreichenbach

Currently, you can not build contrib/mmap/, contrib/vmap_assembler/, and contrib/vmap_extractor/ under Linux.

Signed-off-by: Salja <salja2012@hotmail.de>