[MediaFoundation] Fix complation issues