fix noemit build