Remove CMake SET_PROPERTY CACHE since it seems to be a CMake > 2.8 feature.