linux: enable generic hid driver
ffmpeg: build with shared libs

this fixes build errors with some things like gegl which, when ffmpeg
is installed, try to use it but then fail to link against the static
ffmpeg libs that were compiled without -fPIC.