Fix building of midori and cheese