fix boot when using ART.