getting build scripts to work on mono on ubuntu