Haskell2010 implies ForeignFunctionInterface. Use other-extensions instead of deprecated extensions.