Remove the printf attribute to make it compile for Windows on newer versions of mingw