Fix compiler
Handle SIGINT and make it an exception