Rework unit test to accept static linking with boost.