Fixed sys.c and how compiles