Fixed Linux compatibility