Fix error on GHC 7.6 'Unacceptable result type in foreign declaration' - Fixes #12