Fix compilation of smart_lock without security.
Fix compilation of smart_lock without security.

Change-Id: I17db9174dd398a397a81e320d5257ca35f9e8851
Signed-off-by: Andreas Zisowsky <0f8ec8760f6bbf76e7fa9ba97460a7a7c7a7e80e@lynxtechnology.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/23575
Reviewed-by: Kishen Maloor <c62ddea3cd661a9268bff15f07fc2229cdc9ac02@intel.com>
Tested-by: Kishen Maloor <c62ddea3cd661a9268bff15f07fc2229cdc9ac02@intel.com>

iotivity/iotivity-constrained,iotivity/iotivity-constrained,iotivity/iotivity-constrained,iotivity/iotivity-constrained