Fix regression caused by earlier commit ('-D printf=error' does not work on OSX)