add raw-os.c to improve both compiling and running speed.