Build docs by default if valadoc was found.
Enable threading as default.

 * No changes in application behaviour because this flag isn't used anywhere.