Don't reference the avmediaMacAVF library if not built

Change-Id: If4f5c51e986b51f5795012b9535ab7a7ea51337b