bugfix: #define in library overrides mainsketch

* aparently macros defined in one place can overwrite other macros
  --> had to simplify the whole macro system