Copy defined variables into userDefines.

Required in order to pass these defines to included libraries.
Merge pull request #245 from player-03/master

Copy defined variables into userDefines.