Fixing Linux warnings