Fix example Makefile

It doesn't work on OS X as it is now.
Merge pull request #900 from rads/patch-1

Fix example Makefile