Added fixes for arm devices without xdg-mime