Add dependencies on CoreGraphics and UIKit