Added Linux compatibility