build: set cmake min version to 3.0 to fix deprecation warning