fix ncpu prompt issue with linux