Tested on Mavericks and upgraded for Xcode 5.0.1. Closes #7