Added a clean phase to xctool before building tests