Make work with linux and FFMpeg 1.x