Xcode: update project for changes in master
Fix some build warnings

C++98 doesnt support the "hh" format specifier
return type of strrchr() varies accross implementations apparently, but const char* is better anyway.