Add missing framework for MacOSX builds.
Add support for Retina displays on MacOSX.
Merge pull request #47 from ybunyak/master

MacOS X examples fixes