fix install from source on FreeBSD 10
fix install from source on FreeBSD 10

Compile with CXX=c++ on FreeBSD, as FreeBSD >= 10.0 no longer has
GCC in the base system (c++ is hardlinked to clang++ on FreeBSD 10.0
and g++ on FreeBSD < 10).

WY08271/nvm,PeterDaveHello/nvm,reybango/nvm,vinaykaradia/clone-nvm,SampleLiao/nvm,Kuzirashi/nvm,devedbox/nvm,bevacqua/nvm,christophercaburog/nvm,nontage24/nvm,scq000/nvm,Salahudeen/nvm,SampleLiao/nvm,NicCollins/nvm,PeterDaveHelloKitchen/nvm,Salahudeen/nvm,wskplho/nvm,evocateur/nvm,Ingelheim/nvm,icyflame/nvm,egilkh/nvm,gtdeng/nvm,PeterDaveHello/nvm,Richardphp/nvm,jaawerth/nvm,kmctown/nvm,woss/nvm,JanChw/nvm,joneit/nvm,DigitallySeamless/nvm,vinaykaradia/clone-nvm,reybango/nvm,thomasf/nvm,tianzhihen/nvm,misterdjules/nvm,christophercaburog/nvm,ljharb/nvm,parasaro92/nvm,evocateur/nvm,creationix/nvm,parasaro92/nvm,tlevine/nvm,michael-ni/nvm,JasonChrYoung/nvm,hanhailong/nvm,IonicaBizauKitchen/nvm,kumaria/nvm,modulexcite/nvm,jhliberty/nvm,woss/nvm,IonicaBizauKitchen/nvm,psychoss/nvm,egilkh/nvm,jbergstroem/nvm,williamboman/nvm,pmq20/nvm,youleiy/nvm,lukechilds/nvm,misterdjules/nvm,tianzhihen/nvm,jhliberty/nvm,youleiy/nvm,mirydz/nvm,kumaria/nvm,mmorejon/nvm,bevacqua/nvm,wahyutaufik/nvm,hkdobrev/nvm,icyflame/nvm,JasonChrYoung/nvm,tlevine/nvm,elrasguno/nvm,lukechilds/nvm,devedbox/nvm,fnogatz/swivm,cjac/nvm,WY08271/nvm,jbergstroem/nvm,dfackler/nvm,hkdobrev/nvm,Richardphp/nvm,cirosantilli/nvm,edwmurph/nvm,joneit/nvm,cnpm/nvm,nontage24/nvm,edwmurph/nvm,diegofcb10/nvm,gtdeng/nvm,owen-it/nvm,greyhwndz/nvm,bbuck/nvm,bbuck/nvm,DigitallySeamless/nvm,mirydz/nvm,modulexcite/nvm,Theodeus/nvm,CristianCantoro/nvm,williamboman/nvm,cnpm/nvm,CristianCantoro/nvm,scq000/nvm,LeeLovCY/nvm,psychoss/nvm,kmctown/nvm,ljharb/nvm,domenicosolazzo/nvm,JanChw/nvm,LeeLovCY/nvm,cjac/nvm,PeterDaveHelloKitchen/nvm,greyhwndz/nvm,wahyutaufik/nvm,pmq20/nvm,Ingelheim/nvm,dfackler/nvm,Theodeus/nvm,elrasguno/nvm,wskplho/nvm,jaawerth/nvm,thomasf/nvm,hanhailong/nvm,sjfkai/nvm,slariviere/nvm,chinazhaghai/nvm,owen-it/nvm,chinazhaghai/nvm,Kuzirashi/nvm,diegofcb10/nvm,creationix/nvm,mmorejon/nvm,slariviere/nvm,cirosantilli/nvm,michael-ni/nvm,domenicosolazzo/nvm