m4: add media libraries

Change-Id: I21adfb12f79bf95a534a834ad6a05a141d46d72b