Test build rebuilds the library if needed