Problem Building Blender

Everything goes fine until towards the end I get this error:

/usr/bin/ld: /opt/lib/ffmpeg/lib/libavformat.a(allformats.o): relocation R_X86_64_32 against `ff_a64_muxer' can not be used when making a shared object; recompile with -fPIC

Any ideas? I tried reinstalling the deps (from the included shell script) and reinstalling libavformat* through apt. I’m on Xubuntu 14.04 if it matters.

Thanks in advance!