Update opencv to 2.4.7 and to work on mavericks

See issue #402 for some background to mavericks problems.

Requing eigen fixed the problem for me, but since there's a new release of opencv I bumped the build number as well. Also some compiler fixes for mavericks.