Fix subdir building for glew and webp