Add patch for vendor init lib defines