Fixed fatal error for unknown macro

Fixes #1052
Reflection is always slower, so I think we should benchmark this.
A macro definition does not change after its compiled so keeping this optimized is a better option.