Log build environment on failure