COMP: fix linking to teem on linux