Fix standalone compilation of the amv encoder.