Switched target framework to .Net 4.0 for Mono

Switched target framework to .Net 4.0 for Mono compatibility