Compile the `diagrams`, `help`, and `lgtdoc` tools with the `optimize` flag turned on