Changed cmake file so that glfw's dynamic libraries are used.