Fix for compilation problems under XCode 5.1.0

Small fix for compilation under current shipping XCode command-line tools.
These changes are also applied upstream (http://sourceforge.net/p/mediainfo/code/6167/)
but have not made it into a proper release yet.

This is a revised version of pull request (https://github.com/Homebrew/homebrew/pull/27835#issuecomment-38511504) which failed to patch due to line ending incompatibility.

I did a clean checkout to verify that the line endings are preserved, so this should fix the issue. 

Closes #27393