Fix compile issue caused by elm version update.