Fix variable declaration
Fix variable declaration

Commit d35cdc2e added some blocks, leading to breakage due to
undeclared variables on JVM

bitrauser/roast,perl6/roast,bitrauser/roast,dogbert17/roast,dogbert17/roast