Fix build script

I can't edit the branch to send the pull request to, so this a new pull request for #51 

Also, most of these commits are because iclab:dev is behind iclab:master.

@gsathya, would you please review this? I used this branch to push the latest package to pip and confirmed that it installed correctly.
I agree, but this was part of the learning curve. This is also why I added an additional version number (the .7)