Fix Bash3 compatibility