Better support for building stand-alone tests.

2 files changed