Fix --with-system-glew

Change-Id: I62d36ada2128b11955b50b0373e1404ff34f2bd0