But according to documentation it should. Seems incorrect build or incorrect detection function in Python build scripts
Unfortunatelly it's Python bug. Python does support os.chflags() only in *BSD and MacOSX. See https://bugs.python.org/issue42939