CMake is called before build, build is aborted if CMake failed, but
calling CMake alone from the context menu does not work (nullpointer
exception), because IBuildConfiguration is not set inside
InternalBuilder.