Add preliminary build support on Mono.

This should allow the build scripts themselves to begin working under linux/mono in a rudimentary form. The test target is not fully exercised yet and may require some additional adjustments.