Made code comptibale with Linux