Fix bash compatibility