set cmake to build in debug mode