Fix simulator linker error