Fixing bootloader to compile with new radio driver setup

mainly moving some defines around and avoiding class definitions to be
included when compiling pure C for bootloader