fix macros not declaring built-in functions