remove extraneous version vars in build.sh, use depdate instead of depversion. closes #301