Revert "set cmake_policy for cmake 3.0"

This reverts commit ce07275d5213814e6b229eb3440a6c3b3ee48f0c.