if config has changed then force recreation of cmake cache