Fixed undefined reference error.