fixed cmake policy warnings