Fixed undefined references.