updated libmagic.patch for 5.4+