Make docs gen work in virtualenv.