Fix bash detection