Add ctest variable for command line reconfiguration
Improve deleting of build tree

Some times a build directory is not getting removed. As a work around
the build directory is renamed then, an attempt tried to be deleted is
made. These older build directories will continued to be attempted to
be deleted until it is really gone.