fix for make target docs failing first time