cmake: Don't link with -lrt on OSX.
cmake: Explicitly specify python link dependency.
Merge pull request #1 from stuarteberg/master

Fixes for building on mac.