Fix compile error in ElementConstructorMap