Compilation errors was fixed

under monodevelop 4.2.2 & debian jessie/sid

v2 :)