Added equals key support for Darwin.
Fixed compilation issue on non-mavericks targets. More testing needed.
Fixed missing libs for demo programs.