Support valadoc for builds. Must be built with '-DNO_VALADOC=TRUE' because valadoc doesn't support single-line docstrings yet.