shellrc: Added missing get_os_type function