Workaround for building mpv without waf.