Make message and format arguments const char * to avoid
build warning about invalid cast.