Some Mac OS X travis/mono fixes

Still has 3 errors and 3 fails in the tests, but I think it's as far as I will get.