Adding Linux compatibility