Add if to check if Linux for -ldl, because it only works on Linux.
Add if to check if Linux for -ldl, because it only works on Linux.

jhendrixMSFT/coreclr,dpodder/coreclr,botaberg/coreclr,dasMulli/coreclr,bartdesmet/coreclr,Godin/coreclr,James-Ko/coreclr,Godin/coreclr,KrzysztofCwalina/coreclr,jhendrixMSFT/coreclr,josteink/coreclr,chuck-mitchell/coreclr,Godin/coreclr,chuck-mitchell/coreclr,tijoytom/coreclr,ragmani/coreclr,ramarag/coreclr,chuck-mitchell/coreclr,kyulee1/coreclr,gkhanna79/coreclr,cmckinsey/coreclr,cmckinsey/coreclr,andschwa/coreclr,bitcrazed/coreclr,James-Ko/coreclr,cmckinsey/coreclr,cmckinsey/coreclr,kyulee1/coreclr,alexperovich/coreclr,bartdesmet/coreclr,tijoytom/coreclr,wtgodbe/coreclr,bartdesmet/coreclr,alexperovich/coreclr,bartonjs/coreclr,ruben-ayrapetyan/coreclr,yeaicc/coreclr,swgillespie/coreclr,Dmitry-Me/coreclr,yeaicc/coreclr,cshung/coreclr,krytarowski/coreclr,sperling/coreclr,ZhichengZhu/coreclr,Dmitry-Me/coreclr,JonHanna/coreclr,roncain/coreclr,stormleoxia/coreclr,mskvortsov/coreclr,qiudesong/coreclr,ragmani/coreclr,botaberg/coreclr,mocsy/coreclr,cydhaselton/coreclr,bartonjs/coreclr,martinwoodward/coreclr,krytarowski/coreclr,neurospeech/coreclr,andschwa/coreclr,sperling/coreclr,dasMulli/coreclr,bitcrazed/coreclr,sjsinju/coreclr,jhendrixMSFT/coreclr,wateret/coreclr,YongseopKim/coreclr,cshung/coreclr,ZhichengZhu/coreclr,vinnyrom/coreclr,swgillespie/coreclr,bartonjs/coreclr,Lucrecious/coreclr,martinwoodward/coreclr,josteink/coreclr,LLITCHEV/coreclr,Lucrecious/coreclr,jamesqo/coreclr,cmckinsey/coreclr,chuck-mitchell/coreclr,krk/coreclr,dasMulli/coreclr,Lucrecious/coreclr,KrzysztofCwalina/coreclr,cshung/coreclr,neurospeech/coreclr,ruben-ayrapetyan/coreclr,Lucrecious/coreclr,mskvortsov/coreclr,AlexGhiondea/coreclr,parjong/coreclr,bartonjs/coreclr,wtgodbe/coreclr,sejongoh/coreclr,benpye/coreclr,wtgodbe/coreclr,ramarag/coreclr,JosephTremoulet/coreclr,JonHanna/coreclr,KrzysztofCwalina/coreclr,cydhaselton/coreclr,pgavlin/coreclr,mocsy/coreclr,mokchhya/coreclr,wkchoy74/coreclr,shahid-pk/coreclr,russellhadley/coreclr,andschwa/coreclr,poizan42/coreclr,mmitche/coreclr,bartonjs/coreclr,dpodder/coreclr,manu-silicon/coreclr,naamunds/coreclr,cshung/coreclr,Lucrecious/coreclr,bitcrazed/coreclr,krk/coreclr,LLITCHEV/coreclr,JonHanna/coreclr,vinnyrom/coreclr,cydhaselton/coreclr,sperling/coreclr,dasMulli/coreclr,andschwa/coreclr,schellap/coreclr,ruben-ayrapetyan/coreclr,wkchoy74/coreclr,sperling/coreclr,tijoytom/coreclr,blackdwarf/coreclr,cydhaselton/coreclr,bartonjs/coreclr,poizan42/coreclr,rartemev/coreclr,botaberg/coreclr,kyulee1/coreclr,sejongoh/coreclr,andschwa/coreclr,botaberg/coreclr,taylorjonl/coreclr,YongseopKim/coreclr,ZhichengZhu/coreclr,mskvortsov/coreclr,chuck-mitchell/coreclr,andschwa/coreclr,kyulee1/coreclr,Godin/coreclr,alexperovich/coreclr,ramarag/coreclr,ramarag/coreclr,taylorjonl/coreclr,manu-silicon/coreclr,poizan42/coreclr,mmitche/coreclr,yeaicc/coreclr,taylorjonl/coreclr,ramarag/coreclr,sjsinju/coreclr,dasMulli/coreclr,manu-silicon/coreclr,russellhadley/coreclr,dasMulli/coreclr,Godin/coreclr,JonHanna/coreclr,mocsy/coreclr,mocsy/coreclr,mmitche/coreclr,taylorjonl/coreclr,shahid-pk/coreclr,ZhichengZhu/coreclr,swgillespie/coreclr,krytarowski/coreclr,dpodder/coreclr,wtgodbe/coreclr,mmitche/coreclr,vinnyrom/coreclr,Dmitry-Me/coreclr,swgillespie/coreclr,SlavaRa/coreclr,mokchhya/coreclr,wkchoy74/coreclr,mokchhya/coreclr,wateret/coreclr,benpye/coreclr,bitcrazed/coreclr,cmckinsey/coreclr,benpye/coreclr,mmitche/coreclr,stormleoxia/coreclr,qiudesong/coreclr,schellap/coreclr,jhendrixMSFT/coreclr,mskvortsov/coreclr,wkchoy74/coreclr,botaberg/coreclr,benpye/coreclr,hseok-oh/coreclr,jamesqo/coreclr,Lucrecious/coreclr,mokchhya/coreclr,LLITCHEV/coreclr,schellap/coreclr,shahid-pk/coreclr,jhendrixMSFT/coreclr,martinwoodward/coreclr,KrzysztofCwalina/coreclr,parjong/coreclr,pgavlin/coreclr,jamesqo/coreclr,neurospeech/coreclr,James-Ko/coreclr,rartemev/coreclr,taylorjonl/coreclr,roncain/coreclr,jamesqo/coreclr,wkchoy74/coreclr,krytarowski/coreclr,ZhichengZhu/coreclr,sagood/coreclr,mokchhya/coreclr,SlavaRa/coreclr,tijoytom/coreclr,yizhang82/coreclr,Dmitry-Me/coreclr,SlavaRa/coreclr,kyulee1/coreclr,sagood/coreclr,wkchoy74/coreclr,wateret/coreclr,cshung/coreclr,neurospeech/coreclr,benpye/coreclr,blackdwarf/coreclr,KrzysztofCwalina/coreclr,stormleoxia/coreclr,LLITCHEV/coreclr,ragmani/coreclr,roncain/coreclr,JosephTremoulet/coreclr,roncain/coreclr,bitcrazed/coreclr,blackdwarf/coreclr,sagood/coreclr,qiudesong/coreclr,parjong/coreclr,naamunds/coreclr,naamunds/coreclr,naamunds/coreclr,naamunds/coreclr,pgavlin/coreclr,poizan42/coreclr,ruben-ayrapetyan/coreclr,swgillespie/coreclr,ragmani/coreclr,bartdesmet/coreclr,mskvortsov/coreclr,alexperovich/coreclr,LLITCHEV/coreclr,russellhadley/coreclr,blackdwarf/coreclr,krytarowski/coreclr,pgavlin/coreclr,jamesqo/coreclr,naamunds/coreclr,JosephTremoulet/coreclr,KrzysztofCwalina/coreclr,sjsinju/coreclr,botaberg/coreclr,JonHanna/coreclr,krk/coreclr,alexperovich/coreclr,LLITCHEV/coreclr,bitcrazed/coreclr,vinnyrom/coreclr,bitcrazed/coreclr,mokchhya/coreclr,Lucrecious/coreclr,schellap/coreclr,rartemev/coreclr,James-Ko/coreclr,hseok-oh/coreclr,roncain/coreclr,yeaicc/coreclr,AlexGhiondea/coreclr,sejongoh/coreclr,mocsy/coreclr,sperling/coreclr,neurospeech/coreclr,manu-silicon/coreclr,neurospeech/coreclr,manu-silicon/coreclr,sjsinju/coreclr,sejongoh/coreclr,KrzysztofCwalina/coreclr,cshung/coreclr,qiudesong/coreclr,sejongoh/coreclr,krytarowski/coreclr,vinnyrom/coreclr,Godin/coreclr,mskvortsov/coreclr,SlavaRa/coreclr,chuck-mitchell/coreclr,YongseopKim/coreclr,Dmitry-Me/coreclr,naamunds/coreclr,parjong/coreclr,wateret/coreclr,blackdwarf/coreclr,YongseopKim/coreclr,yeaicc/coreclr,bartdesmet/coreclr,yizhang82/coreclr,bartonjs/coreclr,gkhanna79/coreclr,stormleoxia/coreclr,shahid-pk/coreclr,AlexGhiondea/coreclr,martinwoodward/coreclr,tijoytom/coreclr,rartemev/coreclr,shahid-pk/coreclr,parjong/coreclr,AlexGhiondea/coreclr,JosephTremoulet/coreclr,sjsinju/coreclr,Dmitry-Me/coreclr,ragmani/coreclr,parjong/coreclr,yeaicc/coreclr,benpye/coreclr,chuck-mitchell/coreclr,YongseopKim/coreclr,josteink/coreclr,James-Ko/coreclr,tijoytom/coreclr,bartdesmet/coreclr,gkhanna79/coreclr,ramarag/coreclr,yizhang82/coreclr,James-Ko/coreclr,yizhang82/coreclr,hseok-oh/coreclr,JosephTremoulet/coreclr,taylorjonl/coreclr,sjsinju/coreclr,qiudesong/coreclr,benpye/coreclr,swgillespie/coreclr,sperling/coreclr,JonHanna/coreclr,cydhaselton/coreclr,stormleoxia/coreclr,shahid-pk/coreclr,josteink/coreclr,ruben-ayrapetyan/coreclr,roncain/coreclr,gkhanna79/coreclr,pgavlin/coreclr,sperling/coreclr,krk/coreclr,Godin/coreclr,yizhang82/coreclr,wtgodbe/coreclr,ramarag/coreclr,hseok-oh/coreclr,AlexGhiondea/coreclr,vinnyrom/coreclr,rartemev/coreclr,josteink/coreclr,rartemev/coreclr,yizhang82/coreclr,sejongoh/coreclr,schellap/coreclr,cmckinsey/coreclr,russellhadley/coreclr,poizan42/coreclr,krk/coreclr,kyulee1/coreclr,poizan42/coreclr,russellhadley/coreclr,andschwa/coreclr,Dmitry-Me/coreclr,wkchoy74/coreclr,josteink/coreclr,jhendrixMSFT/coreclr,hseok-oh/coreclr,yeaicc/coreclr,mocsy/coreclr,gkhanna79/coreclr,wateret/coreclr,bartdesmet/coreclr,ragmani/coreclr,wateret/coreclr,martinwoodward/coreclr,YongseopKim/coreclr,LLITCHEV/coreclr,martinwoodward/coreclr,mocsy/coreclr,russellhadley/coreclr,SlavaRa/coreclr,ZhichengZhu/coreclr,blackdwarf/coreclr,shahid-pk/coreclr,swgillespie/coreclr,dpodder/coreclr,mmitche/coreclr,hseok-oh/coreclr,sagood/coreclr,sejongoh/coreclr,manu-silicon/coreclr,dasMulli/coreclr,dpodder/coreclr,JosephTremoulet/coreclr,alexperovich/coreclr,sagood/coreclr,jamesqo/coreclr,wtgodbe/coreclr,schellap/coreclr,mokchhya/coreclr,taylorjonl/coreclr,stormleoxia/coreclr,stormleoxia/coreclr,ruben-ayrapetyan/coreclr,gkhanna79/coreclr,dpodder/coreclr,pgavlin/coreclr,ZhichengZhu/coreclr,qiudesong/coreclr,SlavaRa/coreclr,jhendrixMSFT/coreclr,josteink/coreclr,roncain/coreclr,cydhaselton/coreclr,schellap/coreclr,blackdwarf/coreclr,vinnyrom/coreclr,sagood/coreclr,manu-silicon/coreclr,krk/coreclr,martinwoodward/coreclr,AlexGhiondea/coreclr