Detect device orientation when initalizing iOS capture device
Fix compilation with Visual Studio.
Add missing symbol exports.