Fix mistake in errno/ add upgrade
Require latest BinDeps
Merge pull request #4 from loladiro/master

Build script update and bugfix