Fix wrong fact-action connection caused by varible name mistakes.
compile.sh supports linux.