Use $(CC) instead of ghc-inplace as C compiler in hsc2hs-inplace. (Generally ghc is used here to obtain include dirs.)