Fixed undefined reference

The removed lines were referencing a function from a file not included in the repo