Fixed a compile error and an error in the TileStudio code gen config.