Fix automake to install libmedia