Make #test_build more resilient