fixed cmake warnings for 3.0.0
disabled keyrange until we fix it