Set some cmake policies to mute cmake warnings