Clean up string formatting for 64bit compilation