Do weak-linking to VideoToolbox for iOS

This way we will get hardware codecs on iOS8+ but still can
run on devices using an older version of iOS.
Fix libtool to work properly with -weak_framework linking