LMIC: Fix for bug #606 merged to master

Merged a patch to eliminate use of defined() in macro values (it’s ok in #if, but not defined in macro expansions).

Need to review the list and see what’s next.