Avoid git pull error & add alt du args for macosx

Makefile couldn't be executed more than once due
to git pull error: `git checkout master` is added
before `git pull` to solve this issue.