Hack way to compile freeradius causing freeradius to hang under multithread mode