crt was passed to linker twice