Fixed linker bug causing references to other sections to be wrong