Fixes MSBuild tasks at least when compiling under Mono 3.x

Basically it now inherits from ManagedCompiler, so quite a few properties are already defined.