eliminated directory removal from compile
same patch to compile in c++ tests