Link against libavdevice, and fail if any libs are missing