`Foreign.ForeignPtr.*` doesn't exist in base 4.3. Use `Foreign.ForeignPtr` there.