Fixed up python cmake file to not include layer_factory.cpp while compilig.
Merge commit 'refs/pull/1206/head' of https://github.com/BVLC/caffe into clang