Undefined reference fix