Enable build of both shared and static test libraries.