c++ extensions catch Ctr-C; an attemt to create setup script