CCTexture2D compilation fix