Stop linker errors on test targets