Added Linux support (incomplete)