Some hacks for $((...)) and local FOO=

Signed-off-by: Oleg Bulatov <oleg@bulatov.me>