Made glfw window creation use a proper builder pattern