Fixed build on Mono 3.0 with gmcs