doc: fix order of arguments when building using CMake.
doc: no need to explicitly specify compatibility flags anymore.