Pull cmake configuration from poco/master and cut down to compile only necessities.