Modified the way we link the sr_hand_lib internal library and the bfd external library. A small modification has been added to write_flash_data to cover a corner case.