code, no more compile the activation code unless requested

Add the WITH_ACTIVATION_CODE option in the cmake which is OFF
by default.