Fix xcode check to work on Mavericks

Xcode check only works on older versions of osx, The command line tools aren't located the same way on Mavericks so I set it up to check both