Add '#undef fprintf' before PRINT macro that uses fprintf.