Check for macro status using metadata.

This simplifies the compiler a bit.