Fixed undefined reference of logger object.