Fixed support for the <bin dir> argument. Some files had the build directory hard coded.