waf: remove most of the os_ dependencies

some really intricate checks still need this (mostly windows fault.. coff)