fixing the way wifi and gfx drivers are built