cmake: change cmake minimum version to 2.6