2 fixes to build.sh script and compiler wrappers

Bugs revealed on fresh git ot build. 
- Chaiscript not found (export variable)
- wrong path to compiler binary in wrapper (local/bin instead of .local/bin)