Link unit tests against libes