fixed app-crashing bug that occurs when trying to manually import CoreGraphics in OSX

Attempting to include CoreGraphics in an OSX application results in a app-crashing error. The correct way to use CoreGraphics on OSX is to include the ApplicationServices framework, in which CoreGraphics is bundled.