Rename console-checking function to is_osx_console