Working on 64bit support for CoreGraphics