environment fixes to Cakefile