Previous does not work; instead, disable test building on Linux with --static.