use gcc to substitute #define statements

At least the solarized theme for .xdefaults is distributed using #define statements. This PR runs gcc on the files first, so that `#defines` are properly interpolated, no modification of the theme is necessary anymore.