Clean up unnecessary and catch-all version(Posix) blocks, plus unnecessarily separated version(OS) declarations