(build) fixes for retro frameserver + egl-dri

Rendernodes "should" work properly now but for
some reason we still can't allocate framebuffer
objects etc. and just fail silently, havn't tried
with an upgraded kernel yet but other calls work.

After that we should be at a stage with working
LWA + retro3d in X-less linux.