only set yam engine if the constant exists