rewriting toplevel forms to use eval-when