Check for g++, not gcc and fix linking on Raspberry Pi
Check for g++, not gcc and fix linking on Raspberry Pi

We actually need g++, not gcc. Also on the Pi the OpenGLES libs where
missing.

sdt/EmulationStation,Spicykiwi/EmulationStation,gr33k/EmulationStation,cuhsat/EmulationStation,Black3v3r/EmulationStation,Herdinger/EmulationStation,zigurana/EmulationStation,hdo/jukeboxV3FrontEnd,larrykoubiak/EmulationStation,joolswills/EmulationStation,asmorgan24/EmulationStation-Marketplace,zigurana/EmulationStation,Spicykiwi/EmulationStation,RobLoach/EmulationStation,rockaddicted/recalbox-emulationstation,gr33k/EmulationStation,cuhsat/EmulationStation,asmorgan24/EmulationStation-Marketplace,joolswills/EmulationStation,Herdinger/EmulationStation,recalbox/recalbox-emulationstation,jgeumlek/EmulationStation-tweaked,MisterTea/EmulationStation,emerrepengo/recalbox-emulationstation,cavedude00/EmulationStation,asmorgan24/EmulationStation-Marketplace,igungor/recalbox-emulationstation,tschires/emu,tschires/emu,sdt/EmulationStation,tbhova/EmulationStation,tschires/emu,Black3v3r/EmulationStation,jgeumlek/EmulationStation-tweaked,Spicykiwi/EmulationStation,jrassa/EmulationStation,recalbox/recalbox-emulationstation,igungor/recalbox-emulationstation,igungor/recalbox-emulationstation,rockaddicted/recalbox-emulationstation,pimcgcd/esmod,asmorgan24/EmulationStation-Marketplace,pmoran13800/recalbox-emulationstation,hdo/jukeboxV3FrontEnd,larrykoubiak/EmulationStation,digitalLumberjack/recalbox-emulationstation,pimcgcd/esmod,tbhova/EmulationStation,larrykoubiak/EmulationStation,sdt/EmulationStation,mgoulartBR/retrobox-emulationstation,dimistor/EmulationStation,hevey/EmulationStation,cavedude00/EmulationStation,hevey/EmulationStation,Black3v3r/EmulationStation,pmoran13800/recalbox-emulationstation,rjklawiter/ESpro,jrassa/EmulationStation,emerrepengo/recalbox-emulationstation,pmoran13800/recalbox-emulationstation,hdo/EmulationStation,rjklawiter/ESpro,tbhova/EmulationStation,cavedude00/EmulationStation,mgoulartBR/retrobox-emulationstation,Herdinger/EmulationStation,jrassa/EmulationStation,jrassa/EmulationStation,joolswills/EmulationStation,hdo/EmulationStation,MisterTea/EmulationStation,emerrepengo/recalbox-emulationstation,MisterTea/EmulationStation,zigurana/EmulationStation,hdo/jukeboxV3FrontEnd,hdo/EmulationStation,RobLoach/EmulationStation,rockaddicted/recalbox-emulationstation,jgeumlek/EmulationStation-tweaked,pimcgcd/esmod,gr33k/EmulationStation,dimistor/EmulationStation,Krejza9/EmulationStation-sdlmixer,digitalLumberjack/recalbox-emulationstation,RobLoach/EmulationStation,digitalLumberjack/recalbox-emulationstation,hevey/EmulationStation,joolswills/EmulationStation,rjklawiter/ESpro,dimistor/EmulationStation,mgoulartBR/retrobox-emulationstation,Krejza9/EmulationStation-sdlmixer,Krejza9/EmulationStation-sdlmixer,recalbox/recalbox-emulationstation,cuhsat/EmulationStation