Fix dependency on win32-pthreads
Fix mav-avcapture dependencies