Change all imports to use "unsafe" since none of the imported functions will ever call back into Haskell code