make: Fix BOARD and CPU macros

Minuses in macro names are problematic, since the CPP interpretes them as substraction operators.