Move Unsafe.cs using statements to try and fix Mac build (PR #2030)