Patching drupal core for profile inheritance