Linker script and path fixes