removed the segfault handlers
made Cmakelists sane again