Fix issue in asset compilation tool where assets were not properly compiled for different platforms