Fix libtrilite not getting built on test.

(Ripped off from abbeyj's pull req)