fix compile error under Mono 3.6.1