fix problems with missing MCUCSR on some AVRs

Signed-off-by: Stephan Baerwolf <stephan@matrixstorm.com>
fix build problems with large flash memory

Signed-off-by: Stephan Baerwolf <stephan@matrixstorm.com>