Fixed compiling error:

privileged.c:826:14: error: ‘HLLOCK_HANDLER’ undeclared (first use in this function)
  hl_shutdown(HLLOCK_HANDLER);
Fixed compile-time error:

privileged.c:853:80: error: ‘hl_lock_enabled’ undeclared (first use in this function)