Compile back-end with macro debug mode and fix macro expansion of STHORM accelerator

Use -g3 -gdwarf-4 so that GDB can access to macro definitions.