Linker error, but pipeline class built along with consume and produce functions