Only import glm submodule if statsmodels is present.