Added a code to detect if  the server is running on mono or MS