It was in the mcp_can_dfs.h file and wasn't readily apparent because of the way it was worded\coded.
The compiler can figure out whether you are compiling for a Mega, or not, and should use the correct #define. It is simply laziness on the part of the library developer to require you to edit source files to use a different board.
I'd fire a complaint off to the developer.