iclient.h: Fix include error due to missing userid.h
mathlib.h: Fix compiling under Clang due to "register" being deprecated