wm: videocapture: move libraries to pragma