adjust ForeignPtr import in C2HS module