Made updates to build with new media libraries