Added compilation defines for non-2foc boards.