Makes glm a shared library.