cmake: fix docs build