problem linking static ffmpeg lib into regen on ubuntu 11.10