Don't compile unnecessary code for mono