Moving OS depended sys_console stuff to the right places