Added fPIC to CPPFLAGS to fix issue with glog