Copy defined variables into userDefines.

Required in order to pass these defines to included libraries.