Made it work with current Xcode

Hi,
More of a notice that a real pull request, as i just hacked in for your plugin to work with my setup
Cheers,
Hubert