Made changes to enable compilation with 10.9.3 operating system and Xcode 6.