Add FrameworkUtil.cs which is compiled if the build isn't net5+, needed to support init setters & records