Use a different dir for stamp files

The first time that the configure step runs, some files in the CMakeFile
directory (for example when using "BUILD_LOG 1" the "-build.cmake"
files) are is deleted and the user should run cmake again to get them
back.

Using a different folder fixes this issue.