job_factory_impl, as one parameter of `InstallProtocolHandlers`, has different types between Android and other ports. So it may need to  add the "#if #else" or change the definition of the fucntion to handle this. And what's more I don't think it makes too much sense  to wrap such lines of code as a function here. So to make things simple, I flat it.