Fix OS X 10.8 build
Merge pull request #135 from eile/master

Fix OS X 10.8 build: Correct include for std::isfinite, fix installation of debug build.