Make sure that all variables are defined when R__HAVE_CONFIG is defined. Should fix an issue reported on the forum.
Changed paths: