cmake: move docs to bottom of dependency list