Fix warnings and updated for Xcode 5.1

Signed-off-by: Alan Edwards <alanedwards2@mac.com>