Checking if it's mono runtime, windows + mono didn't work

Tested on mono + windows and it crashes too.  Please merge master before merging this commit. I'm having hard time to maintain different envs (windows + mono, Linux + mono). If you have any advices or tips, let me know =)