Allow AVFoundation compilation on OS X 10.7.