TIL that the generators are implemented according to spec but the distributions are custom. Since this is C I think we can manage without distributions. This still needs a test.
The default rand() and srand() differ between msvc and gcc. Attempting to fix this by implementing a custom C++ library.