Fixing issue with Linux compatibility