CMake: Set minimum version to 2.8.9 (Required for supporting newer versions of boost).
Merge missing commit of 'CMake-compiler-flags' into branch master.