anchor.diff:          [] ->
               ok;
           Dictionaries ->
  -            Basedir =  rebar_config:get_xconf(Config, base_dir),
  +            {ok, Basedir} = file:get_cwd(),
               IncludeDir = filename:join([Basedir, "include"]),
               ok = filelib:ensure_dir(IncludeDir),
               dictionary_compile(Config, Appfile, Dictionaries)
  
positive.code:     F = fun(Z) when Z == X -> Y;
          (C) -> C
      end,
      lists:map(F,L).
negative.code:             dictionary_clean(Config, Appfile, Dictionaries)
      end.
  
  out_files(_Config, DictionaryFile) ->
      {ok, Basedir} = file:get_cwd(),
      DictionaryFileBase = filename:basename(DictionaryFile),
      OutfileBase = re:replace(DictionaryFileBase, "\\.", "_", [{return, list}]),
      Headerfile = string:join([OutfileBase, "hrl"], "."),
  