Fixed project so it compiles on latest Mono

This made the project compile on latest Mono 3.8 for me.