fixed linker scripts