fix for copying task dlls