Fix build on OS X 10.7 Lion and older by using CoreServices instead of CFNetwork