Add csharp to the build
Some minor fixes for OSX builds
Try to get mono build to complete under travis