Some more fixes for compiling the user dll with -DSTRICT.

14 files changed