mpv: switch to waf build system
lua: fix pc file to include iconv
Add pthreads-w32, just in case

Someone on IRC told me about apparent performance problems with
winpthreads, so I'll just put this here in case it will affect
mpv (right now it does not).