Fixed typo on $BASEDIR in build.sh