Fix no-JSON and Windows builds (#1200)* Fix when JSON is disabled* Fix windows warnings/errors* Revert "Allow ultralite builds to fail"* Define generic fma* Use cassert* Use fma algorithm and assert that distributions are floating point