Add support for Mono

Not sure if this is the right approach but I've modified the existing project. Perhaps a better approach would be to create a new project reference. Nevertheless, by adding in these references and using the CSharp msbuild this fixes support in Mono.