added define for checkpoints to scons
added precompiler for checkpoint