adding -all_load linker flag