fixed string caching issue for linux cmakelists