removing MonoCS compiler directives, checking runtime for mono