Fixing linker errors in performance tests