Force Xcode 11 to use a SPM library as a dylib

A work-around have been described in this thread: How to link a Swift Package as dynamic