Simplify binary check script

It can remove mkdirp from dependencies.