Modernised project.

Updated the project so it works with current Xcode.