fix order issue under node 0.8
remove dependcy on `minimatch`