Revert "Remove libs that were needed for TiKZ in RTFD."

This reverts commit afe93f8bf3c9706a3fb798ca77c033750d111152.