Fixed support for the <bin dir> argument. Some files had the build directory hard coded.
Merge pull request #232 from cosmoharrigan/master

Fixed support for the <bin dir> optional argument