" DirectX, .NET Framework " are not "part of OS", you have to install them.
SDL2 or SDL is shipped with some Linux Distro or Used by a lot of software (that would auto install those package).
So I don't really understand how you limit the library :/