Fixed possible detection-case bugs, added intel gfx