Replace `let` with `$(( ))` (#572)

17 jobs for master in 29 minutes and 9 seconds (queued for 4 seconds)