Remove ctype dep

Uses `else if` instead for grouping purposes. Still kept stream check last as I think this is left often the case. This allows `/` at the front of paths to be considered full paths on both Windows and POSIX systems.

Not so sure on how indenting should be done when parentheses are definitely required after ensuring the platform is Windows on the first `else if`.