[#2041] Make PlatformDependent.isRoot0() work on solaris