rework conditional compilation of textures, strings and fonts