Make gtk-doc optional

This is practical for building in very sparse environment like Heroku,
where pulling in gtk-doc requires building many more dependencies.