Make printerr_handler static