fix NO_MACRO build + setup