Remove a few bashisms