Fixed cross-compiling with the default options.
Fixed cross-compiling with the default options.

The failmalloc check doesn't make sense when cross-compiling, and
configure even errored out in this case.

libexif/libexif,libexif/libexif,libexif/libexif