Fix XCode 4.6 warning on string format an Interger with %ld, now use %i