Build dependencies seperately so they don't contaminate docs.tar (fixes #130).