made glog optional and off by default, fixes #12