Maintenance: change glm into a submodule