Fixed cmake scripts for pycaffe.

pycaffe was not building for me so I fixed up the cmake files.

By no means perfect but probably a step in the right direction.

BR, Max