Set USE_CUSTOM_LIBFFI when compiling for simulator

This allows the library to compile against iPhone Simulator targets.