Include a shell script for rebuilding the CMake temporary files

Fixes #2