allow compiling out weak enctype support