Lowered .net version requirement by removing overrides of Marshal