make gcc happy, and added line break in posix system before exit