Fix use of format on older systems