Add support for mono
Make debugging work on mono