correcting #if statement for skia fix