Use foreign automake flavour

Get rid of 0-sized files mandated by GNU flavour
Stop overwriting custom INSTALL file
Fix build with recent libavcodec