fix local install on mac. skip cutorch and cunn if nvcc is not in path.

tweaks for a local install on macosx.
skip cuda stuff if there is no nvcc in path.