Fix Rakefile and vm_translator to optionally process dirs