Fix configuration version and modify target directory for upstream build