mal4s: fix build failure on mountain lion.
mal4s: change patch style, download it from github.