add build variant for main.fmt