tweaks to linker; adrd and iOS7 tested.