Some fixes for the compilation of the user dll with -DSTRICT.