add working dir to cmake batch