make sure setup_doxygen is run in cmake as it is needed for modules too
attempt to better clean up subprocesses (at least on unix)