[installer] link using LDFLAGS instead of product reference

Since we want to do conditional linking, the list of Pods to link with 
needs to be provided by an xcconfig file. Only way to do that is to
remove the linking responsibility from Xcode and give it to ld directly.