add default value to missing constant, as long as not set

References #165