fix #7065, missing root for some types constructed at compile time