Fix warnings in CocosBuilder.