Revert "set cmake_policy for cmake 3.0"

This reverts commit afdc60c4ac1653a81cac2aec1ad058467a06f535.