Fix building errors due to AutoParts settings