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