Revert "Use Posix.major and Posix.minor, removes Linux vapi dependency"

This reverts commit 988874833e304355157f1716cbee0af072492018.