[wx] Change libGL loading
[wx] Change libGL loading

Load libGL.so.1 instead of libGL.so, this should fix things when
DL search path is broken (Ubuntu).
dlopen("libGL.so") finds Mesa driver and dlopen("libGL.so.1") finds
Nvidia or ATI. wxWidgets (added by gcc) have a dependency to libGL.so.1
so the context is created with that driver.

RaimoNiskanen/otp,RaimoNiskanen/otp,potatosalad/otp,GinjaNinja32/otp,sdebnath/otp,neeraj9/otp,yangchengjian/otp,isvilen/otp,basho/otp,goertzenator/otp,entropiae/otp,psyeugenic/otp,aboroska/otp,ferd/otp,ferd/otp,riverrun/otp,paladim/otp,falkevik/otp,VincentHHL/otp,bsmr-erlang/otp,lhslll/otp,aboroska/otp,GinjaNinja32/otp,tuncer/otp,weisslj/otp,riverrun/otp,palas/otp,fenollp/otp,emile/otp,saleyn/otp,g-andrade/otp,bjorng/otp,electricimp/otp,RichMorin/otp,saleyn/otp,lrascao/otp,dgud/otp,jamesruan/otp,jj1bdx/otp,weisslj/otp,haguenau/otp,getong/otp,basho/otp,msantos/otp,isvilen/otp,sammoth-wazoku/otp,fenollp/otp,mujiatong/otp,RaimoNiskanen/otp,jj1bdx/otp,GinjaNinja32/otp,lightcyphers/otp,krishnakumar4a4/otp,paulcager/otp,massemanet/otp,fenollp/otp,lucafavatella/otp,c-rack/otp,jj1bdx/otp,matwey/otp,schlagert/otp,getong/otp,paulcager/otp,RichMorin/otp,RoadRunnr/otp,psyeugenic/otp,rlipscombe/otp,Teino1978-Corp/otp,mikpe/otp,vinoski/otp,falkevik/otp,jinshana/otp,cnbin/otp,goertzenator/otp,NOMORECOFFEE/otp,ferd/otp,getong/otp,ader1990/otp,falkevik/otp,krishnakumar4a4/otp,dgud/otp,entropiae/otp,VincentHHL/otp,ader1990/otp,enikki/otp,klarna/otp,beni55/otp,emacsmirror/erlang,RGafiyatullin/otp,NOMORECOFFEE/otp,tuncer/otp,neeraj9/otp,sammoth-wazoku/otp,RGafiyatullin/otp,ahmedshafeeq/otp,sammoth-wazoku/otp,bsmr-erlang/otp,matwey/otp,RJ/otp,mikpe/otp,legoscia/otp,ferd/otp,psyeugenic/otp,sdebnath/otp,lightcyphers/otp,lianghaivv/otp,bsmr-erlang/otp,platinumthinker/otp,benoitc/otp-1,sammoth-wazoku/otp,sammoth-wazoku/otp,vic/otp,dgud/otp,vladdu/otp,paladim/otp,getong/otp,lemenkov/otp,krishnakumar4a4/otp,ferd/otp,theom/otp,bugs-erlang-org/otp,falkevik/otp,paulcager/otp,marquisthunder/otp,palas/otp,goertzenator/otp,marquisthunder/otp,enikki/otp,fenollp/otp,stolen/otp,tuncer/otp,weisslj/otp,paladim/otp,benoitc/otp-1,lhslll/otp,yangchengjian/otp,ahmedshafeeq/otp,lucafavatella/otp,release-project/otp,dumbbell/otp,isvilen/otp,benoitc/otp-1,marquisthunder/otp,bernardd/otp,fenollp/otp,massemanet/otp,RichMorin/otp,potatosalad/otp,klarna/otp,electricimp/otp,msantos/otp,kvakvs/otp,lianghaivv/otp,uabboli/otp,theom/otp,legoscia/otp,vladdu/otp,RaimoNiskanen/otp,cnbin/otp,erlang/otp,stolen/otp,klarna/otp,jj1bdx/otp,massemanet/otp,awetzel/otp,weisslj/otp,dumbbell/otp,paulcager/otp,psyeugenic/otp,uabboli/otp,emacsmirror/erlang,aboroska/otp,lucafavatella/otp,uabboli/otp,sammoth-wazoku/otp,GinjaNinja32/otp,haguenau/otp,theom/otp,erlang/otp,jj1bdx/otp,enikki/otp,jemsbhai/otp,jj1bdx/otp,hairyhum/otp,RichMorin/otp,erlang/otp,basho/otp,stolen/otp,electricimp/otp,lhslll/otp,lrascao/otp,jj1bdx/otp,stolen/otp,electricimp/otp,mikpe/otp,legoscia/otp,Teino1978-Corp/otp,mikpe/otp,electricimp/otp,krishnakumar4a4/otp,VincentHHL/otp,vladdu/otp,awetzel/otp,cobusc/otp,yangchengjian/otp,schlagert/otp,bjorng/otp,dumbbell/otp,bjorng/otp,saleyn/otp,palas/otp,aboroska/otp,jemsbhai/otp,vladdu/otp,lemenkov/otp,lucafavatella/otp,getong/otp,falkevik/otp,potatosalad/otp,riverrun/otp,Teino1978-Corp/erlang-otp,lightcyphers/otp,g-andrade/otp,lightcyphers/otp,awetzel/otp,uabboli/otp,RichMorin/otp,potatosalad/otp,yangchengjian/otp,release-project/otp,sitexa/otp,paulcager/otp,aboroska/otp,rlipscombe/otp,lemenkov/otp,msantos/otp,isvilen/otp,gjaldon/otp,bugs-erlang-org/otp,VincentHHL/otp,krishnakumar4a4/otp,vinoski/otp,palas/otp,dumbbell/otp,schlagert/otp,vinoski/otp,vladdu/otp,g-andrade/otp,matwey/otp,Teino1978-Corp/erlang-otp,g-andrade/otp,weisslj/otp,RichMorin/otp,lightcyphers/otp,bsmr-erlang/otp,kvakvs/otp,stolen/otp,ahmedshafeeq/otp,ahmedshafeeq/otp,NOMORECOFFEE/otp,sdebnath/otp,lucafavatella/otp,uabboli/otp,isvilen/otp,GinjaNinja32/otp,tuncer/otp,NOMORECOFFEE/otp,potatosalad/otp,schlagert/otp,kvakvs/otp,lianghaivv/otp,GinjaNinja32/otp,getong/otp,haguenau/otp,beni55/otp,fenollp/otp,lemenkov/otp,klarna/otp,bugs-erlang-org/otp,vinoski/otp,klarna/otp,aboroska/otp,jemsbhai/otp,lrascao/otp,RoadRunnr/otp,mujiatong/otp,paladim/otp,cnbin/otp,ader1990/otp,platinumthinker/otp,cnbin/otp,gjaldon/otp,saleyn/otp,NOMORECOFFEE/otp,derek121/otp,hairyhum/otp,jj1bdx/otp,vladdu/otp,haguenau/otp,derek121/otp,neeraj9/otp,Teino1978-Corp/erlang-otp,lucafavatella/otp,emacsmirror/erlang,entropiae/otp,VincentHHL/otp,enikki/otp,bjorng/otp,palas/otp,bernardd/otp,haguenau/otp,potatosalad/otp,g-andrade/otp,lantti/otp,RoadRunnr/otp,aboroska/otp,emile/otp,saleyn/otp,derek121/otp,awetzel/otp,c-rack/otp,ferd/otp,ader1990/otp,beni55/otp,vic/otp,vinoski/otp,klarna/otp,lantti/otp,msantos/otp,theom/otp,platinumthinker/otp,emacsmirror/erlang,basho/otp,matwey/otp,getong/otp,jamesruan/otp,massemanet/otp,emile/otp,lhslll/otp,jamesruan/otp,sitexa/otp,massemanet/otp,Teino1978-Corp/erlang-otp,kvakvs/otp,Teino1978-Corp/erlang-otp,dumbbell/otp,fenollp/otp,gjaldon/otp,release-project/otp,rlipscombe/otp,sitexa/otp,c-rack/otp,VincentHHL/otp,g-andrade/otp,jemsbhai/otp,enikki/otp,psyeugenic/otp,lucafavatella/otp,paladim/otp,stolen/otp,RGafiyatullin/otp,stolen/otp,bjorng/otp,vic/otp,aboroska/otp,vic/otp,tuncer/otp,RichMorin/otp,paladim/otp,bugs-erlang-org/otp,derek121/otp,emacsmirror/erlang,hairyhum/otp,Teino1978-Corp/erlang-otp,ader1990/otp,dgud/otp,VincentHHL/otp,enikki/otp,lrascao/otp,emacsmirror/erlang,ahmedshafeeq/otp,bsmr-erlang/otp,basho/otp,vinoski/otp,legoscia/otp,lhslll/otp,NOMORECOFFEE/otp,potatosalad/otp,johanclaesson/otp,theom/otp,erlang/otp,getong/otp,vic/otp,derek121/otp,mikpe/otp,jinshana/otp,goertzenator/otp,jj1bdx/otp,release-project/otp,jinshana/otp,basho/otp,uabboli/otp,theom/otp,electricimp/otp,lemenkov/otp,beni55/otp,jamesruan/otp,emacsmirror/erlang,vic/otp,dumbbell/otp,bugs-erlang-org/otp,saleyn/otp,ahmedshafeeq/otp,ahmedshafeeq/otp,jamesruan/otp,jamesruan/otp,paladim/otp,bjorng/otp,sdebnath/otp,beni55/otp,tuncer/otp,enikki/otp,lantti/otp,gjaldon/otp,haguenau/otp,basho/otp,beni55/otp,jinshana/otp,paulcager/otp,goertzenator/otp,RJ/otp,gjaldon/otp,weisslj/otp,NOMORECOFFEE/otp,bernardd/otp,rlipscombe/otp,RJ/otp,vinoski/otp,gjaldon/otp,emacsmirror/erlang,release-project/otp,RoadRunnr/otp,lightcyphers/otp,sitexa/otp,ader1990/otp,derek121/otp,marquisthunder/otp,krishnakumar4a4/otp,jemsbhai/otp,palas/otp,benoitc/otp-1,schlagert/otp,RichMorin/otp,lrascao/otp,legoscia/otp,mikpe/otp,mikpe/otp,mujiatong/otp,entropiae/otp,VincentHHL/otp,cobusc/otp,marquisthunder/otp,rlipscombe/otp,RaimoNiskanen/otp,bugs-erlang-org/otp,erlang/otp,vinoski/otp,vic/otp,hairyhum/otp,ferd/otp,msantos/otp,legoscia/otp,RaimoNiskanen/otp,paladim/otp,aboroska/otp,lianghaivv/otp,awetzel/otp,sammoth-wazoku/otp,GinjaNinja32/otp,mikpe/otp,entropiae/otp,RoadRunnr/otp,johanclaesson/otp,msantos/otp,hairyhum/otp,haguenau/otp,falkevik/otp,dgud/otp,entropiae/otp,g-andrade/otp,massemanet/otp,marquisthunder/otp,lantti/otp,gjaldon/otp,isvilen/otp,psyeugenic/otp,gjaldon/otp,jamesruan/otp,vinoski/otp,sdebnath/otp,riverrun/otp,dgud/otp,bernardd/otp,massemanet/otp,yangchengjian/otp,sitexa/otp,klarna/otp,c-rack/otp,yangchengjian/otp,cnbin/otp,yangchengjian/otp,msantos/otp,lhslll/otp,bugs-erlang-org/otp,benoitc/otp-1,RGafiyatullin/otp,krishnakumar4a4/otp,neeraj9/otp,lemenkov/otp,erlang/otp,lightcyphers/otp,potatosalad/otp,emile/otp,Teino1978-Corp/otp,bsmr-erlang/otp,RaimoNiskanen/otp,ferd/otp,rlipscombe/otp,RoadRunnr/otp,RGafiyatullin/otp,krishnakumar4a4/otp,rlipscombe/otp,riverrun/otp,yangchengjian/otp,jemsbhai/otp,Teino1978-Corp/otp,massemanet/otp,johanclaesson/otp,dumbbell/otp,sitexa/otp,schlagert/otp,erlang/otp,Teino1978-Corp/otp,matwey/otp,RJ/otp,GinjaNinja32/otp,enikki/otp,tuncer/otp,klarna/otp,RaimoNiskanen/otp,sammoth-wazoku/otp,cobusc/otp,mujiatong/otp,bernardd/otp,rlipscombe/otp,kvakvs/otp,neeraj9/otp,NOMORECOFFEE/otp,palas/otp,bjorng/otp,cobusc/otp,ader1990/otp,lantti/otp,neeraj9/otp,ferd/otp,hairyhum/otp,hairyhum/otp,RGafiyatullin/otp,electricimp/otp,lemenkov/otp,Teino1978-Corp/otp,jinshana/otp,dumbbell/otp,tuncer/otp,c-rack/otp,bugs-erlang-org/otp,ahmedshafeeq/otp,lantti/otp,release-project/otp,release-project/otp,weisslj/otp,platinumthinker/otp,fenollp/otp,emacsmirror/erlang,psyeugenic/otp,legoscia/otp,dgud/otp,bjorng/otp,vladdu/otp,potatosalad/otp,kvakvs/otp,erlang/otp,fenollp/otp,uabboli/otp,massemanet/otp,kvakvs/otp,mujiatong/otp,johanclaesson/otp,paulcager/otp,bernardd/otp,emile/otp,lantti/otp,goertzenator/otp,c-rack/otp,c-rack/otp,RaimoNiskanen/otp,lianghaivv/otp,theom/otp,dgud/otp,bsmr-erlang/otp,dgud/otp,RJ/otp,bernardd/otp,cobusc/otp,johanclaesson/otp,RGafiyatullin/otp,jinshana/otp,g-andrade/otp,lianghaivv/otp,bjorng/otp,neeraj9/otp,saleyn/otp,Teino1978-Corp/erlang-otp,sitexa/otp,matwey/otp,emile/otp,electricimp/otp,lrascao/otp,benoitc/otp-1,sdebnath/otp,cobusc/otp,johanclaesson/otp,Teino1978-Corp/erlang-otp,mujiatong/otp,jinshana/otp,emile/otp,derek121/otp,matwey/otp,lhslll/otp,kvakvs/otp,cobusc/otp,vic/otp,derek121/otp,RoadRunnr/otp,basho/otp,awetzel/otp,marquisthunder/otp,vinoski/otp,ahmedshafeeq/otp,c-rack/otp,beni55/otp,Teino1978-Corp/otp,isvilen/otp,lianghaivv/otp,lhslll/otp,goertzenator/otp,awetzel/otp,ader1990/otp,beni55/otp,kvakvs/otp,lianghaivv/otp,erlang/otp,weisslj/otp,jemsbhai/otp,mikpe/otp,benoitc/otp-1,jinshana/otp,tuncer/otp,haguenau/otp,dumbbell/otp,palas/otp,lantti/otp,sdebnath/otp,rlipscombe/otp,saleyn/otp,RoadRunnr/otp,mujiatong/otp,msantos/otp,lightcyphers/otp,emacsmirror/erlang,psyeugenic/otp,matwey/otp,basho/otp,johanclaesson/otp,RJ/otp,lemenkov/otp,bsmr-erlang/otp,saleyn/otp,jemsbhai/otp,platinumthinker/otp,matwey/otp,paulcager/otp,awetzel/otp,g-andrade/otp,falkevik/otp,stolen/otp,release-project/otp,schlagert/otp,Teino1978-Corp/otp,vladdu/otp,RJ/otp,bernardd/otp,lrascao/otp,RJ/otp,riverrun/otp,emile/otp,falkevik/otp,dumbbell/otp,isvilen/otp,lucafavatella/otp,goertzenator/otp,release-project/otp,lrascao/otp,riverrun/otp,legoscia/otp,RGafiyatullin/otp,jj1bdx/otp,neeraj9/otp,johanclaesson/otp,getong/otp,rlipscombe/otp,isvilen/otp,erlang/otp,g-andrade/otp,legoscia/otp,theom/otp,marquisthunder/otp,jamesruan/otp,platinumthinker/otp,hairyhum/otp,platinumthinker/otp,bsmr-erlang/otp,electricimp/otp,schlagert/otp,potatosalad/otp,cnbin/otp,sitexa/otp,uabboli/otp,falkevik/otp,bernardd/otp,getong/otp,isvilen/otp,cnbin/otp,vladdu/otp,bjorng/otp,cobusc/otp,entropiae/otp,cnbin/otp,goertzenator/otp,riverrun/otp,mujiatong/otp,lrascao/otp,dgud/otp,platinumthinker/otp,RoadRunnr/otp,mikpe/otp,entropiae/otp,weisslj/otp,emile/otp,uabboli/otp,sdebnath/otp,benoitc/otp-1