Handle uppercase directory names
When a product contains multiple libraries with uppercase names the global searchdata.json file is generated with uppercase urls while everywhere else they are converted to lowercase.
This patch converts to lowercase also for the global searchdata file.