Made build.sh work on mono