Fix configure internal ref