FreeBSD enable: Make build.sh FreeBSD compatible
FreeBSD enable: Make build.sh FreeBSD compatible

This patch adds FreeBSD to build.sh. Also use /usr/bin/env to get the real path of bash, since that can be different across platforms.

rahku/corefx,s0ne0me/corefx,PatrickMcDonald/corefx,parjong/corefx,shmao/corefx,vrassouli/corefx,yizhang82/corefx,viniciustaveira/corefx,mazong1123/corefx,fernando-rodriguez/corefx,shahid-pk/corefx,KrisLee/corefx,iamjasonp/corefx,wtgodbe/corefx,heXelium/corefx,anjumrizwi/corefx,cartermp/corefx,fgreinacher/corefx,lggomez/corefx,Priya91/corefx-1,Priya91/corefx-1,misterzik/corefx,kkurni/corefx,gregg-miskelly/corefx,alexperovich/corefx,Winsto/corefx,mellinoe/corefx,stormleoxia/corefx,stephenmichaelf/corefx,rahku/corefx,parjong/corefx,bpschoch/corefx,ViktorHofer/corefx,Frank125/corefx,Yanjing123/corefx,gabrielPeart/corefx,DnlHarvey/corefx,Jiayili1/corefx,erpframework/corefx,marksmeltzer/corefx,krytarowski/corefx,janhenke/corefx,larsbj1988/corefx,larsbj1988/corefx,kkurni/corefx,stormleoxia/corefx,stone-li/corefx,weltkante/corefx,khdang/corefx,rjxby/corefx,jhendrixMSFT/corefx,marksmeltzer/corefx,shahid-pk/corefx,iamjasonp/corefx,heXelium/corefx,cartermp/corefx,vijaykota/corefx,shrutigarg/corefx,alexandrnikitin/corefx,stephenmichaelf/corefx,comdiv/corefx,jlin177/corefx,SGuyGe/corefx,690486439/corefx,shana/corefx,andyhebear/corefx,YoupHulsebos/corefx,JosephTremoulet/corefx,ravimeda/corefx,fernando-rodriguez/corefx,ericstj/corefx,scott156/corefx,shrutigarg/corefx,rajansingh10/corefx,krk/corefx,tstringer/corefx,ericstj/corefx,josguil/corefx,fgreinacher/corefx,khdang/corefx,cartermp/corefx,zhangwenquan/corefx,lggomez/corefx,scott156/corefx,nchikanov/corefx,Petermarcu/corefx,vidhya-bv/corefx-sorting,popolan1986/corefx,cartermp/corefx,nelsonsar/corefx,jlin177/corefx,iamjasonp/corefx,jlin177/corefx,parjong/corefx,benjamin-bader/corefx,nelsonsar/corefx,billwert/corefx,oceanho/corefx,SGuyGe/corefx,rahku/corefx,claudelee/corefx,Chrisboh/corefx,mokchhya/corefx,vijaykota/corefx,mazong1123/corefx,zmaruo/corefx,nchikanov/corefx,akivafr123/corefx,Petermarcu/corefx,zhangwenquan/corefx,Alcaro/corefx,vs-team/corefx,seanshpark/corefx,fgreinacher/corefx,ViktorHofer/corefx,yizhang82/corefx,Jiayili1/corefx,vrassouli/corefx,tijoytom/corefx,rjxby/corefx,DnlHarvey/corefx,alexandrnikitin/corefx,mmitche/corefx,pallavit/corefx,comdiv/corefx,jcme/corefx,DnlHarvey/corefx,kyulee1/corefx,ptoonen/corefx,kkurni/corefx,ravimeda/corefx,marksmeltzer/corefx,axelheer/corefx,YoupHulsebos/corefx,benpye/corefx,CherryCxldn/corefx,dhoehna/corefx,kkurni/corefx,PatrickMcDonald/corefx,ellismg/corefx,fffej/corefx,krk/corefx,wtgodbe/corefx,billwert/corefx,nbarbettini/corefx,JosephTremoulet/corefx,manu-silicon/corefx,Ermiar/corefx,rajansingh10/corefx,Winsto/corefx,mafiya69/corefx,andyhebear/corefx,n1ghtmare/corefx,Priya91/corefx-1,yizhang82/corefx,ViktorHofer/corefx,parjong/corefx,pallavit/corefx,cydhaselton/corefx,pgavlin/corefx,axelheer/corefx,dotnet-bot/corefx,YoupHulsebos/corefx,manu-silicon/corefx,lydonchandra/corefx,chaitrakeshav/corefx,xuweixuwei/corefx,nbarbettini/corefx,cnbin/corefx,brett25/corefx,shahid-pk/corefx,shahid-pk/corefx,dkorolev/corefx,alphonsekurian/corefx,rubo/corefx,chaitrakeshav/corefx,richlander/corefx,Frank125/corefx,richlander/corefx,JosephTremoulet/corefx,bitcrazed/corefx,mmitche/corefx,stone-li/corefx,cnbin/corefx,pgavlin/corefx,alphonsekurian/corefx,rajansingh10/corefx,vrassouli/corefx,rahku/corefx,chenxizhang/corefx,vidhya-bv/corefx-sorting,adamralph/corefx,jeremymeng/corefx,tijoytom/corefx,DnlHarvey/corefx,khdang/corefx,janhenke/corefx,yizhang82/corefx,cydhaselton/corefx,dhoehna/corefx,stone-li/corefx,gkhanna79/corefx,nchikanov/corefx,Yanjing123/corefx,Ermiar/corefx,elijah6/corefx,billwert/corefx,wtgodbe/corefx,rubo/corefx,jmhardison/corefx,Jiayili1/corefx,twsouthwick/corefx,axelheer/corefx,krytarowski/corefx,mafiya69/corefx,wtgodbe/corefx,YoupHulsebos/corefx,claudelee/corefx,Priya91/corefx-1,JosephTremoulet/corefx,yizhang82/corefx,twsouthwick/corefx,scott156/corefx,alexperovich/corefx,ravimeda/corefx,Chrisboh/corefx,iamjasonp/corefx,Chrisboh/corefx,kyulee1/corefx,zmaruo/corefx,shrutigarg/corefx,nchikanov/corefx,benpye/corefx,zmaruo/corefx,janhenke/corefx,MaggieTsang/corefx,CloudLens/corefx,bpschoch/corefx,lggomez/corefx,krytarowski/corefx,popolan1986/corefx,dhoehna/corefx,YoupHulsebos/corefx,Winsto/corefx,Petermarcu/corefx,rubo/corefx,vs-team/corefx,jcme/corefx,PatrickMcDonald/corefx,rjxby/corefx,ptoonen/corefx,parjong/corefx,dotnet-bot/corefx,690486439/corefx,alexperovich/corefx,nelsonsar/corefx,seanshpark/corefx,axelheer/corefx,pgavlin/corefx,zhenlan/corefx,gkhanna79/corefx,seanshpark/corefx,oceanho/corefx,shimingsg/corefx,SGuyGe/corefx,jeremymeng/corefx,elijah6/corefx,lggomez/corefx,shana/corefx,nbarbettini/corefx,bitcrazed/corefx,bpschoch/corefx,kyulee1/corefx,benpye/corefx,BrennanConroy/corefx,brett25/corefx,marksmeltzer/corefx,cydhaselton/corefx,vs-team/corefx,Priya91/corefx-1,ptoonen/corefx,mellinoe/corefx,CherryCxldn/corefx,lydonchandra/corefx,richlander/corefx,stormleoxia/corefx,mokchhya/corefx,oceanho/corefx,Yanjing123/corefx,Yanjing123/corefx,dsplaisted/corefx,billwert/corefx,dtrebbien/corefx,stone-li/corefx,xuweixuwei/corefx,pallavit/corefx,Ermiar/corefx,krk/corefx,josguil/corefx,shana/corefx,josguil/corefx,dhoehna/corefx,stone-li/corefx,MaggieTsang/corefx,claudelee/corefx,mafiya69/corefx,n1ghtmare/corefx,DnlHarvey/corefx,twsouthwick/corefx,MaggieTsang/corefx,zhenlan/corefx,marksmeltzer/corefx,shmao/corefx,pallavit/corefx,pallavit/corefx,ellismg/corefx,rjxby/corefx,dsplaisted/corefx,anjumrizwi/corefx,nbarbettini/corefx,Petermarcu/corefx,manu-silicon/corefx,gabrielPeart/corefx,SGuyGe/corefx,shimingsg/corefx,destinyclown/corefx,JosephTremoulet/corefx,JosephTremoulet/corefx,alphonsekurian/corefx,ericstj/corefx,weltkante/corefx,erpframework/corefx,nchikanov/corefx,Petermarcu/corefx,elijah6/corefx,jhendrixMSFT/corefx,bitcrazed/corefx,rjxby/corefx,adamralph/corefx,mazong1123/corefx,spoiledsport/corefx,zmaruo/corefx,JosephTremoulet/corefx,ViktorHofer/corefx,iamjasonp/corefx,PatrickMcDonald/corefx,chenkennt/corefx,janhenke/corefx,jlin177/corefx,shimingsg/corefx,gregg-miskelly/corefx,Jiayili1/corefx,shmao/corefx,dotnet-bot/corefx,marksmeltzer/corefx,benjamin-bader/corefx,spoiledsport/corefx,Priya91/corefx-1,VPashkov/corefx,nelsonsar/corefx,s0ne0me/corefx,ravimeda/corefx,jhendrixMSFT/corefx,MaggieTsang/corefx,lggomez/corefx,scott156/corefx,the-dwyer/corefx,mazong1123/corefx,weltkante/corefx,chenkennt/corefx,Jiayili1/corefx,EverlessDrop41/corefx,cartermp/corefx,matthubin/corefx,misterzik/corefx,anjumrizwi/corefx,adamralph/corefx,oceanho/corefx,viniciustaveira/corefx,wtgodbe/corefx,gkhanna79/corefx,stormleoxia/corefx,pallavit/corefx,CherryCxldn/corefx,Chrisboh/corefx,jcme/corefx,gabrielPeart/corefx,gkhanna79/corefx,jhendrixMSFT/corefx,huanjie/corefx,benpye/corefx,benjamin-bader/corefx,tijoytom/corefx,Chrisboh/corefx,Ermiar/corefx,jcme/corefx,Ermiar/corefx,tijoytom/corefx,jlin177/corefx,thiagodin/corefx,690486439/corefx,alphonsekurian/corefx,weltkante/corefx,mellinoe/corefx,lggomez/corefx,elijah6/corefx,heXelium/corefx,MaggieTsang/corefx,mokchhya/corefx,Alcaro/corefx,fernando-rodriguez/corefx,Chrisboh/corefx,lydonchandra/corefx,jmhardison/corefx,ellismg/corefx,viniciustaveira/corefx,akivafr123/corefx,fffej/corefx,rahku/corefx,stephenmichaelf/corefx,gregg-miskelly/corefx,ericstj/corefx,SGuyGe/corefx,EverlessDrop41/corefx,seanshpark/corefx,alexperovich/corefx,ellismg/corefx,janhenke/corefx,vijaykota/corefx,misterzik/corefx,krytarowski/corefx,bitcrazed/corefx,thiagodin/corefx,nchikanov/corefx,stone-li/corefx,akivafr123/corefx,lydonchandra/corefx,rajansingh10/corefx,kyulee1/corefx,CloudLens/corefx,wtgodbe/corefx,seanshpark/corefx,stephenmichaelf/corefx,destinyclown/corefx,matthubin/corefx,EverlessDrop41/corefx,gkhanna79/corefx,jhendrixMSFT/corefx,alphonsekurian/corefx,matthubin/corefx,weltkante/corefx,dhoehna/corefx,Jiayili1/corefx,ptoonen/corefx,krytarowski/corefx,manu-silicon/corefx,the-dwyer/corefx,yizhang82/corefx,stephenmichaelf/corefx,zhenlan/corefx,KrisLee/corefx,mellinoe/corefx,manu-silicon/corefx,shahid-pk/corefx,gkhanna79/corefx,vidhya-bv/corefx-sorting,tstringer/corefx,mellinoe/corefx,Frank125/corefx,weltkante/corefx,mazong1123/corefx,fffej/corefx,brett25/corefx,the-dwyer/corefx,axelheer/corefx,rahku/corefx,twsouthwick/corefx,mafiya69/corefx,brett25/corefx,krk/corefx,alexandrnikitin/corefx,erpframework/corefx,jhendrixMSFT/corefx,SGuyGe/corefx,dotnet-bot/corefx,tstringer/corefx,Petermarcu/corefx,ViktorHofer/corefx,zhangwenquan/corefx,shmao/corefx,VPashkov/corefx,rjxby/corefx,larsbj1988/corefx,alexperovich/corefx,wtgodbe/corefx,claudelee/corefx,vrassouli/corefx,ptoonen/corefx,comdiv/corefx,KrisLee/corefx,seanshpark/corefx,uhaciogullari/corefx,tstringer/corefx,alexandrnikitin/corefx,mazong1123/corefx,BrennanConroy/corefx,cartermp/corefx,twsouthwick/corefx,mellinoe/corefx,ericstj/corefx,ravimeda/corefx,khdang/corefx,benpye/corefx,ellismg/corefx,shmao/corefx,690486439/corefx,rahku/corefx,akivafr123/corefx,khdang/corefx,dhoehna/corefx,tijoytom/corefx,chaitrakeshav/corefx,uhaciogullari/corefx,dotnet-bot/corefx,ravimeda/corefx,uhaciogullari/corefx,seanshpark/corefx,richlander/corefx,Jiayili1/corefx,dhoehna/corefx,zhangwenquan/corefx,chenxizhang/corefx,rubo/corefx,the-dwyer/corefx,jlin177/corefx,dotnet-bot/corefx,andyhebear/corefx,the-dwyer/corefx,s0ne0me/corefx,rubo/corefx,twsouthwick/corefx,axelheer/corefx,dtrebbien/corefx,mafiya69/corefx,MaggieTsang/corefx,cydhaselton/corefx,matthubin/corefx,shana/corefx,690486439/corefx,alexandrnikitin/corefx,shrutigarg/corefx,dtrebbien/corefx,weltkante/corefx,dkorolev/corefx,billwert/corefx,lggomez/corefx,mazong1123/corefx,tstringer/corefx,josguil/corefx,stone-li/corefx,jmhardison/corefx,spoiledsport/corefx,mokchhya/corefx,josguil/corefx,jeremymeng/corefx,nbarbettini/corefx,tijoytom/corefx,richlander/corefx,Frank125/corefx,krk/corefx,alexperovich/corefx,thiagodin/corefx,shmao/corefx,krk/corefx,dsplaisted/corefx,elijah6/corefx,CherryCxldn/corefx,Ermiar/corefx,Yanjing123/corefx,benpye/corefx,the-dwyer/corefx,stephenmichaelf/corefx,nchikanov/corefx,anjumrizwi/corefx,elijah6/corefx,jhendrixMSFT/corefx,dtrebbien/corefx,ravimeda/corefx,mmitche/corefx,cydhaselton/corefx,shimingsg/corefx,mmitche/corefx,mmitche/corefx,Alcaro/corefx,krytarowski/corefx,elijah6/corefx,benjamin-bader/corefx,tijoytom/corefx,n1ghtmare/corefx,cydhaselton/corefx,nbarbettini/corefx,jcme/corefx,khdang/corefx,pgavlin/corefx,YoupHulsebos/corefx,Petermarcu/corefx,YoupHulsebos/corefx,krk/corefx,PatrickMcDonald/corefx,mokchhya/corefx,ptoonen/corefx,DnlHarvey/corefx,jeremymeng/corefx,stephenmichaelf/corefx,jcme/corefx,fffej/corefx,chenxizhang/corefx,heXelium/corefx,shimingsg/corefx,popolan1986/corefx,zhenlan/corefx,manu-silicon/corefx,fgreinacher/corefx,parjong/corefx,dotnet-bot/corefx,MaggieTsang/corefx,the-dwyer/corefx,KrisLee/corefx,zhenlan/corefx,mokchhya/corefx,thiagodin/corefx,richlander/corefx,gkhanna79/corefx,shahid-pk/corefx,shimingsg/corefx,marksmeltzer/corefx,cnbin/corefx,alphonsekurian/corefx,destinyclown/corefx,mmitche/corefx,CloudLens/corefx,kkurni/corefx,shmao/corefx,comdiv/corefx,josguil/corefx,larsbj1988/corefx,VPashkov/corefx,bitcrazed/corefx,DnlHarvey/corefx,dkorolev/corefx,ptoonen/corefx,Ermiar/corefx,zhenlan/corefx,iamjasonp/corefx,BrennanConroy/corefx,chenkennt/corefx,andyhebear/corefx,n1ghtmare/corefx,yizhang82/corefx,jeremymeng/corefx,mafiya69/corefx,vidhya-bv/corefx-sorting,alexperovich/corefx,mmitche/corefx,Alcaro/corefx,parjong/corefx,viniciustaveira/corefx,xuweixuwei/corefx,alphonsekurian/corefx,shimingsg/corefx,billwert/corefx,gabrielPeart/corefx,ViktorHofer/corefx,chaitrakeshav/corefx,akivafr123/corefx,vs-team/corefx,jmhardison/corefx,ViktorHofer/corefx,rjxby/corefx,ericstj/corefx,bpschoch/corefx,nbarbettini/corefx,krytarowski/corefx,zhenlan/corefx,janhenke/corefx,VPashkov/corefx,richlander/corefx,gregg-miskelly/corefx,n1ghtmare/corefx,vidhya-bv/corefx-sorting,s0ne0me/corefx,benjamin-bader/corefx,dkorolev/corefx,tstringer/corefx,uhaciogullari/corefx,huanjie/corefx,huanjie/corefx,iamjasonp/corefx,benjamin-bader/corefx,cnbin/corefx,huanjie/corefx,twsouthwick/corefx,ericstj/corefx,jlin177/corefx,CloudLens/corefx,cydhaselton/corefx,manu-silicon/corefx,erpframework/corefx,ellismg/corefx,kkurni/corefx,billwert/corefx