Fix rust code. start setting up linker