Added Linux and Mac os detection for mono